diff options
author | Heiko Carstens <[email protected]> | 2009-11-11 14:26:34 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-11-12 07:25:57 -0800 |
commit | 7779d7bed950a7fb1af4f540c2f82a6b81b65901 (patch) | |
tree | ca8e8d16a3f50d670f95b3b51c1aaad81a0e05f8 /lib/cpu-notifier-error-inject.c | |
parent | 29f12ca32122db98481150be09d35bd72b68045e (diff) |
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 <[email protected]>
Cc: Ankit Jain <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Cc: Al Viro <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Acked-by: David S. Miller <[email protected]>
Cc: <[email protected]> [2.6.31.x]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions