Re: [PATCH v5 03/18] gfs2: add compat_ioctl support

2019-08-19 Thread Andreas Gruenbacher
On Mon, Aug 19, 2019 at 11:09 AM Arnd Bergmann wrote: > On Sun, Aug 18, 2019 at 10:17 PM Andreas Grünbacher > wrote: > > Am So., 18. Aug. 2019 um 21:32 Uhr schrieb Arnd Bergmann : > > > On Fri, Aug 16, 2019 at 7:32 PM Andreas Gruenbacher > > > wrote: > > > > On Wed, Aug 14, 2019 at 10:45 PM

Re: [PATCH v5 03/18] gfs2: add compat_ioctl support

2019-08-19 Thread Arnd Bergmann
On Sun, Aug 18, 2019 at 10:17 PM Andreas Grünbacher wrote: > Am So., 18. Aug. 2019 um 21:32 Uhr schrieb Arnd Bergmann : > > On Fri, Aug 16, 2019 at 7:32 PM Andreas Gruenbacher > > wrote: > > > On Wed, Aug 14, 2019 at 10:45 PM Arnd Bergmann wrote: > > > > + /* These are just misnamed,

Re: [PATCH v5 03/18] gfs2: add compat_ioctl support

2019-08-18 Thread Andreas Grünbacher
Am So., 18. Aug. 2019 um 21:32 Uhr schrieb Arnd Bergmann : > On Fri, Aug 16, 2019 at 7:32 PM Andreas Gruenbacher > wrote: > > On Wed, Aug 14, 2019 at 10:45 PM Arnd Bergmann wrote: > > > + /* These are just misnamed, they actually get/put from/to user an > > > int */ > > > +

Re: [PATCH v5 03/18] gfs2: add compat_ioctl support

2019-08-18 Thread Arnd Bergmann
On Fri, Aug 16, 2019 at 7:32 PM Andreas Gruenbacher wrote: > > On Wed, Aug 14, 2019 at 10:45 PM Arnd Bergmann wrote: > > + /* These are just misnamed, they actually get/put from/to user an > > int */ > > + switch(cmd) { > > + case FS_IOC32_GETFLAGS: > > + cmd =

Re: [PATCH v5 03/18] gfs2: add compat_ioctl support

2019-08-15 Thread Bob Peterson
- Original Message - > Out of the four ioctl commands supported on gfs2, only FITRIM > works in compat mode. > > Add a proper handler based on the ext4 implementation. > > Fixes: 6ddc5c3ddf25 ("gfs2: getlabel support") > Signed-off-by: Arnd Bergmann > --- > fs/gfs2/file.c | 24