]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: use generic checking and prep function for FS_IOC_SETFLAGS
authorEric Biggers <ebiggers@google.com>
Mon, 1 Jul 2019 20:26:28 +0000 (13:26 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 13 Jul 2019 02:39:07 +0000 (19:39 -0700)
commit19d5997936ccdd235a833366a0e599ec320ccf46
tree9cbdf8fcdbf38e1624d644c25944cd3dc784cb24
parent903ae44f5c90a74650ffb03388316937b7908334
f2fs: use generic checking and prep function for FS_IOC_SETFLAGS

Make the f2fs implementation of FS_IOC_SETFLAGS use the new VFS helper
function vfs_ioc_setflags_prepare().

This is based on a patch from Darrick Wong, but reworked to apply after
commit ab77eb1784fb ("f2fs: separate f2fs i_flags from fs_flags and ext4
i_flags").

Originally-from: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c