Commit ad690ef9 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

xfs ioctl __user annotations

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 97f1e7f7
...@@ -139,7 +139,7 @@ STATIC int xfs_inumbers_fmt_compat( ...@@ -139,7 +139,7 @@ STATIC int xfs_inumbers_fmt_compat(
long count, long count,
long *written) long *written)
{ {
compat_xfs_inogrp_t *p32 = ubuffer; compat_xfs_inogrp_t __user *p32 = ubuffer;
long i; long i;
for (i = 0; i < count; i++) { for (i = 0; i < count; i++) {
...@@ -444,7 +444,7 @@ xfs_compat_ioctl( ...@@ -444,7 +444,7 @@ xfs_compat_ioctl(
case XFS_IOC_FSINUMBERS_32: case XFS_IOC_FSINUMBERS_32:
cmd = _NATIVE_IOC(cmd, struct xfs_fsop_bulkreq); cmd = _NATIVE_IOC(cmd, struct xfs_fsop_bulkreq);
return xfs_ioc_bulkstat_compat(XFS_BHVTOI(VNHEAD(vp))->i_mount, 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_FD_TO_HANDLE_32:
case XFS_IOC_PATH_TO_HANDLE_32: case XFS_IOC_PATH_TO_HANDLE_32:
case XFS_IOC_PATH_TO_FSHANDLE_32: case XFS_IOC_PATH_TO_FSHANDLE_32:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment