From: Heiko Carstens <heiko.carst...@de.ibm.com>
Date: Thu, 29 Oct 2009 09:34:16 +0100

> Subject: [PATCH] fs: add missing compat_ptr handling for FS_IOC_RESVSP ioctl
> 
> From: Heiko Carstens <heiko.carst...@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 <m...@ankitjain.org>
> Cc: Christoph Hellwig <h...@lst.de>
> Cc: Al Viro <v...@zeniv.linux.org.uk>
> Cc: Arnd Bergmann <arndbergm...@googlemail.com>
> Reported-by: David Miller <da...@davemloft.net>
> Signed-off-by: Heiko Carstens <heiko.carst...@de.ibm.com>

Acked-by: David S. Miller <da...@davemloft.net>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to