fs: make fiemap work from compat_ioctl
authorJosef Bacik <josef@toxicpanda.com>
Fri, 29 Sep 2017 19:24:06 +0000 (15:24 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 5 Nov 2017 23:42:00 +0000 (18:42 -0500)
commitceac204e1da942a634d3bb0db3e959edc78e47c7
treeb3db01e6d36530b460e77173b48992d3e4172be1
parentd337b66a4c52c7b04eec661d86c2ef6e168965a2
fs: make fiemap work from compat_ioctl

We don't need to do anything special with fiemap to make it work with a
64bit kernel from 32bit userspace, so just go down to do_vfs_ioctl().
Without this patch we were incorrectly failing to do fiemap with a 32bit
userspace on a 64bit kernel.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/compat_ioctl.c