diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-09-11 20:47:23 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-10-23 17:19:52 +0200 |
commit | 18bd6caaef4021803dd0d031dc37c2d001d18a5b (patch) | |
tree | 630e1b5e44bb2b01f24c09bb2cc0b49ef56d9de4 /ipc/util.h | |
parent | 37ecf8b20abd05cdcb6391e842802e3b4ca97876 (diff) |
ceph: fix compat_ioctl for ceph_dir_operations
The ceph_ioctl function is used both for files and directories, but only
the files support doing that in 32-bit compat mode.
On the s390 architecture, there is also a problem with invalid 31-bit
pointers that need to be passed through compat_ptr().
Use the new compat_ptr_ioctl() to address both issues.
Note: When backporting this patch to stable kernels, "compat_ioctl:
add compat_ptr_ioctl()" is needed as well.
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions