RE: [PATCH v2 04/17] ceph: fix compat_ioctl for ceph_dir_operations

From: David Laight
Date: Wed Sep 12 2018 - 12:11:16 EST


From: Arnd Bergmann
> Sent: 12 September 2018 16:01
>
> The ceph_ioctl function is used both for files and directories, but only
> the files support doing that in 32-bit compat mode.
>
> For consistency, add the same compat handler to the dir operations
> as well.

Have you verified that all the relevant ioctl buffer structures are
exactly the same for 32bit and 64bit applications?

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)