f2fs: jump to label 'free_node_inode' when failing from d_make_root()
authorChengguang Xu <cgxu519@gmx.com>
Wed, 23 Jan 2019 07:49:44 +0000 (15:49 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 6 Mar 2019 03:58:06 +0000 (19:58 -0800)
commit025cdb166c1e6a142fdec46bcd0873e00f0be0fd
tree51e8c9eda0f25f5c2d15fbd3af884516936b2027
parent7321dd97b5bb1801da6881141e56308e593a69f5
f2fs: jump to label 'free_node_inode' when failing from d_make_root()

When sb->s_root is NULL dput() will do nothing,
so jump to label 'free_node_inode' instead of lable
'free_root_inode' when failing from d_make_root().

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c