Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH] fs: add missing compat_ptr handling for FS_IOC_RESVSP ioctl | Date | Tue, 3 Nov 2009 12:32:12 +0100 |
| |
On Tuesday 03 November 2009, Heiko Carstens wrote: > > From: Heiko Carstens <heiko.carstens@de.ibm.com> > > For FS_IOC_RESVSP and FS_IOC_RESVSP64 compat_sys_ioctl() uses its > arg argument as a pointer to userspace. However it is missing a > a call to compat_ptr() which will do a proper pointer conversion. > > This was introduced with 3e63cbb1 "fs: Add new pre-allocation ioctls > to vfs for compatibility with legacy xfs ioctls". > > Cc: Ankit Jain <me@ankitjain.org> > Cc: Christoph Hellwig <hch@lst.de> > Cc: Al Viro <viro@zeniv.linux.org.uk> > Cc: Arnd Bergmann <arndbergmann@googlemail.com> > Acked-by: David S. Miller <davem@davemloft.net> > Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
| |