summaryrefslogtreecommitdiff
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorLi Guifu <bluce.liguifu@huawei.com>2020-07-24 09:38:11 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2020-07-23 20:22:42 -0700
commit99c787cfd2bd04926f1f553b30bd7dcea2caaba1 (patch)
tree702cf9910f1dea29af52ff2117240d70c8ed5797 /fs/f2fs/node.c
parent68e79baf41f89fcdf9edf9bf3d65a71b667d066c (diff)
f2fs: fix use-after-free issue
During umount, f2fs_put_super() unregisters procfs entries after f2fs_destroy_segment_manager(), it may cause use-after-free issue when umount races with procfs accessing, fix it by relocating f2fs_unregister_sysfs(). [Chao Yu: change commit title/message a bit] Signed-off-by: Li Guifu <bluce.liguifu@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/node.c')
0 files changed, 0 insertions, 0 deletions