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

2018-09-12 Thread Yan, Zheng
On Wed, Sep 12, 2018 at 11:10 PM Arnd Bergmann wrote: > > 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. > > Cc: sta...@vger.kernel.org

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

2018-09-12 Thread Arnd Bergmann
On Wed, Sep 12, 2018 at 6:10 PM David Laight wrote: > > 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 handle

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

2018-09-12 Thread David Laight
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

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

2018-09-12 Thread Arnd Bergmann
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. Cc: sta...@vger.kernel.org Signed-off-by: Arnd Bergmann --- fs/ceph/dir.c | 1 + 1 file change