This series converts f2fs to use the new VFS helper functions that check the parameters of the FS_IOC_SETFLAGS and FS_IOC_FSSETXATTR ioctls. This applies to the merge of the f2fs/dev and xfs/vfs-for-next branches: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/log/?h=dev https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git/log/?h=vfs-for-next i.e., this series will apply to mainline after these two branches get merged into it for 5.3. Don't apply it to the f2fs tree by itself yet. See: https://lore.kernel.org/lkml/20190701110603.5abcbb2c@xxxxxxxxxxxxxxxx/T/#u Eric Biggers (3): f2fs: use generic checking and prep function for FS_IOC_SETFLAGS f2fs: use generic checking function for FS_IOC_FSSETXATTR f2fs: remove redundant check from f2fs_setflags_common() fs/f2fs/file.c | 63 ++++++++++++++++++-------------------------------- 1 file changed, 23 insertions(+), 40 deletions(-) -- 2.22.0.410.gd8fdbe21b5-goog