]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: fix incorrect error path handling in f2fs_move_rehashed_dirents
authorChao Yu <yuchao0@huawei.com>
Sat, 14 May 2016 11:03:53 +0000 (19:03 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 16 May 2016 22:32:01 +0000 (15:32 -0700)
commitbcf31e45fb30e242b79ad05de8ae7649164c0c64
tree64ef3ff33c927c0c8365e03f15847f9fe4101b65
parentf7175240890282494c6cf4b167e96524fdd78209
f2fs: fix incorrect error path handling in f2fs_move_rehashed_dirents

Fix two bugs in error path of f2fs_move_rehashed_dirents:
 - release dir's inode page if fail to call kmalloc
 - recover i_current_depth if fail to converting

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/inline.c