]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: use generic checking function for FS_IOC_FSSETXATTR
authorEric Biggers <ebiggers@google.com>
Mon, 1 Jul 2019 20:26:29 +0000 (13:26 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 13 Jul 2019 02:39:07 +0000 (19:39 -0700)
commitc6fa73304993f7d201d35be03a4c9cb3748809b8
tree308bebad2542b14519c3139699f79baeb61f6ae2
parent1dacf240aa02a048c6b5314a59037770b6a2758d
f2fs: use generic checking function for FS_IOC_FSSETXATTR

Make the f2fs implementation of FS_IOC_FSSETXATTR use the new VFS helper
function vfs_ioc_fssetxattr_check(), and remove the project quota check
since it's now done by the helper function.

This is based on a patch from Darrick Wong, but reworked to apply after
commit 6fad126c9e3a ("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