summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_ioctl.c
diff options
context:
space:
mode:
authorLachlan McIlroy2007-02-10 08:35:21 +0100
committerTim Shimmin2007-02-10 08:35:21 +0100
commite5eb7f202b7a1a2d20a0b9866805314bf6464fd0 (patch)
treed5446be344d99ad74080504a664ac548c69d870a /fs/xfs/linux-2.6/xfs_ioctl.c
parent[XFS] Fix UP build breakage due to undefined m_icsb_mutex. (diff)
downloadkernel-qcow2-linux-e5eb7f202b7a1a2d20a0b9866805314bf6464fd0.tar.gz
kernel-qcow2-linux-e5eb7f202b7a1a2d20a0b9866805314bf6464fd0.tar.xz
kernel-qcow2-linux-e5eb7f202b7a1a2d20a0b9866805314bf6464fd0.zip
[XFS] use struct kvec in struct uio
SGI-PV: 954580 SGI-Modid: xfs-linux-melb:xfs-kern:27701a Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_ioctl.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_ioctl.c b/fs/xfs/linux-2.6/xfs_ioctl.c
index f011c9cd0d62..249375274d3f 100644
--- a/fs/xfs/linux-2.6/xfs_ioctl.c
+++ b/fs/xfs/linux-2.6/xfs_ioctl.c
@@ -388,7 +388,7 @@ xfs_readlink_by_handle(
aiov.iov_len = olen;
aiov.iov_base = hreq.ohandle;
- auio.uio_iov = &aiov;
+ auio.uio_iov = (struct kvec *)&aiov;
auio.uio_iovcnt = 1;
auio.uio_offset = 0;
auio.uio_segflg = UIO_USERSPACE;