projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97f1e7f
)
xfs ioctl __user annotations
author
Al Viro
<viro@ftp.linux.org.uk>
Thu, 26 Jul 2007 16:35:59 +0000
(17:35 +0100)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Thu, 26 Jul 2007 18:11:57 +0000
(11:11 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/xfs/linux-2.6/xfs_ioctl32.c
patch
|
blob
|
history
diff --git
a/fs/xfs/linux-2.6/xfs_ioctl32.c
b/fs/xfs/linux-2.6/xfs_ioctl32.c
index
141cf15
..
42319d7
100644
(file)
--- 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: