summaryrefslogtreecommitdiffstats
path: root/fs/compat_ioctl.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2015-12-19 09:55:52 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2016-01-01 08:36:02 +0100
commitd79bdd52d8be70d0e7024ac6715eee860a19834a (patch)
tree42925fd7b132336675c8857e916856ebe0a434b9 /fs/compat_ioctl.c
parentcifs: avoid unused variable and label (diff)
downloadlinux-d79bdd52d8be70d0e7024ac6715eee860a19834a.tar.xz
linux-d79bdd52d8be70d0e7024ac6715eee860a19834a.zip
vfs: wire up compat ioctl for CLONE/CLONE_RANGE
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/compat_ioctl.c')
-rw-r--r--fs/compat_ioctl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index dcf26537c935..70d4b104c08d 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -1580,6 +1580,10 @@ COMPAT_SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd,
goto out_fput;
#endif
+ case FICLONE:
+ case FICLONERANGE:
+ goto do_ioctl;
+
case FIBMAP:
case FIGETBSZ:
case FIONREAD: