diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-11-11 23:26:34 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-11-12 16:25:57 +0100 |
commit | 7779d7bed950a7fb1af4f540c2f82a6b81b65901 (patch) | |
tree | ca8e8d16a3f50d670f95b3b51c1aaad81a0e05f8 /fs/stat.c | |
parent | pidns: fix a leak in /proc dentries and inodes with pid namespaces. (diff) | |
download | linux-7779d7bed950a7fb1af4f540c2f82a6b81b65901.tar.xz linux-7779d7bed950a7fb1af4f540c2f82a6b81b65901.zip |
fs: add missing compat_ptr handling for FS_IOC_RESVSP ioctl
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".
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Ankit Jain <me@ankitjain.org>
Acked-by: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Arnd Bergmann <arndbergmann@googlemail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: <stable@kernel.org> [2.6.31.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions