commit | 8b28a0889b9893fca8f05a4fb379621441e5ef22 | [log] [tgz] |
---|---|---|
author | Yunlei He <heyunlei@huawei.com> | Fri May 19 15:06:12 2017 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Jul 13 17:15:11 2017 -0700 |
tree | 4a0b62dfefea207840d752d91a0958cb35f35306 | |
parent | d430af2fe9b067378822c00637ea390d673d213c [diff] |
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>