f2fs: remove extra inode_unlock() in error path
authorLuis Henriques <lhenriques@suse.com>
Tue, 11 Jul 2017 16:30:33 +0000 (17:30 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 16 Jul 2017 04:10:23 +0000 (21:10 -0700)
commit5ffff2854a0b88fdd279fdb9cbf053d16c8fb2d6
tree106fa94afe32c601df30c45aae9603e78ecfbb1d
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
f2fs: remove extra inode_unlock() in error path

This commit removes an extra inode_unlock() that is being done in function
f2fs_ioc_setflags error path.  While there, get rid of a useless 'out'
label as well.

Fixes: 0abd675e97e6 ("f2fs: support plain user/group quota")
Signed-off-by: Luis Henriques <lhenriques@suse.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c