diff options
author | 2007-07-26 17:35:59 +0100 | |
---|---|---|
committer | 2007-07-26 11:11:57 -0700 | |
commit | ad690ef9e690f6c31f7d310b09ef1314bcec9033 (patch) | |
tree | 808c4c62ef881dd2d3ed7a6a546dbf1b2f525ac9 | |
parent | make powerpc BUG_ON() OK with pointers and bitwise (diff) | |
download | linux-ad690ef9e690f6c31f7d310b09ef1314bcec9033.tar.gz linux-ad690ef9e690f6c31f7d310b09ef1314bcec9033.tar.bz2 linux-ad690ef9e690f6c31f7d310b09ef1314bcec9033.zip |
xfs ioctl __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | fs/xfs/linux-2.6/xfs_ioctl32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_ioctl32.c b/fs/xfs/linux-2.6/xfs_ioctl32.c index 141cf15067c2..42319d75aaab 100644 --- a/fs/xfs/linux-2.6/xfs_ioctl32.c +++ b/fs/xfs/linux-2.6/xfs_ioctl32.c @@ -139,7 +139,7 @@ STATIC int xfs_inumbers_fmt_compat( long count, long *written) { - compat_xfs_inogrp_t *p32 = ubuffer; + compat_xfs_inogrp_t __user *p32 = ubuffer; long i; for (i = 0; i < count; i++) { @@ -444,7 +444,7 @@ xfs_compat_ioctl( case XFS_IOC_FSINUMBERS_32: cmd = _NATIVE_IOC(cmd, struct xfs_fsop_bulkreq); return xfs_ioc_bulkstat_compat(XFS_BHVTOI(VNHEAD(vp))->i_mount, - cmd, (void*)arg); + cmd, (void __user*)arg); case XFS_IOC_FD_TO_HANDLE_32: case XFS_IOC_PATH_TO_HANDLE_32: case XFS_IOC_PATH_TO_FSHANDLE_32: |