diff options
author | Yunlei He <heyunlei@huawei.com> | 2017-05-19 09:06:12 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-05-24 06:07:18 +0200 |
commit | dad48e73127ba10279ea33e6dbc8d3905c4d31c0 (patch) | |
tree | 7594af62186ba7a56da3f25e2e442137a0183ce5 /fs/f2fs/node.h | |
parent | f2fs: try to freeze in gc and discard threads (diff) | |
download | linux-dad48e73127ba10279ea33e6dbc8d3905c4d31c0.tar.xz linux-dad48e73127ba10279ea33e6dbc8d3905c4d31c0.zip |
f2fs: fix a bug caused by NULL extent tree
Thread A: Thread B:
-f2fs_remount
-sbi->mount_opt.opt = 0;
<--- -f2fs_iget
-do_read_inode
-f2fs_init_extent_tree
-F2FS_I(inode)->extent_tree is NULL
-default_options && parse_options
-remount return
<--- -f2fs_map_blocks
-f2fs_lookup_extent_tree
-f2fs_bug_on(sbi, !et);
The same problem with f2fs_new_inode.
Signed-off-by: Yunlei He <heyunlei@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/node.h')
0 files changed, 0 insertions, 0 deletions