diff options
author | Nathan Scott <nathans@sgi.com> | 2004-08-20 06:18:22 +1000 |
---|---|---|
committer | Nathan Scott <nathans@lips.borg.umn.edu> | 2004-08-20 06:18:22 +1000 |
commit | a763e5243c2e83d15097093e311a5389217923b0 (patch) | |
tree | 81775095f8076de72a256c2ea8206050ef234d09 /fs | |
parent | 75de706c964d355192fe08ee9ef4dd32f856a0ed (diff) | |
download | history-a763e5243c2e83d15097093e311a5389217923b0.tar.gz |
[XFS] sparse: fix warnings in debug/tracing code. From Chris Wedgwood.
SGI Modid: xfs-linux:xfs-kern:174341a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_lrw.c | 4 | ||||
-rw-r--r-- | fs/xfs/linux-2.6/xfs_lrw.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/fs/xfs/linux-2.6/xfs_lrw.c b/fs/xfs/linux-2.6/xfs_lrw.c index 7a6a42038cfccb..04d87dab348f7a 100644 --- a/fs/xfs/linux-2.6/xfs_lrw.c +++ b/fs/xfs/linux-2.6/xfs_lrw.c @@ -81,7 +81,7 @@ void xfs_rw_enter_trace( int tag, xfs_iocore_t *io, - const struct iovec *iovp, + void *data, size_t segs, loff_t offset, int ioflags) @@ -95,7 +95,7 @@ xfs_rw_enter_trace( (void *)ip, (void *)((unsigned long)((ip->i_d.di_size >> 32) & 0xffffffff)), (void *)((unsigned long)(ip->i_d.di_size & 0xffffffff)), - (void *)(__psint_t)iovp, + (void *)data, (void *)((unsigned long)segs), (void *)((unsigned long)((offset >> 32) & 0xffffffff)), (void *)((unsigned long)(offset & 0xffffffff)), diff --git a/fs/xfs/linux-2.6/xfs_lrw.h b/fs/xfs/linux-2.6/xfs_lrw.h index 31179a5fd382ed..d33af13308e593 100644 --- a/fs/xfs/linux-2.6/xfs_lrw.h +++ b/fs/xfs/linux-2.6/xfs_lrw.h @@ -74,11 +74,11 @@ struct xfs_iomap; #define XFS_IOMAP_ALLOC_MAP 25 #define XFS_IOMAP_UNWRITTEN 26 extern void xfs_rw_enter_trace(int, struct xfs_iocore *, - const struct iovec *, size_t, loff_t, int); + void *, size_t, loff_t, int); extern void xfs_inval_cached_trace(struct xfs_iocore *, - xfs_off_t, xfs_off_t, xfs_off_t, xfs_off_t); + xfs_off_t, xfs_off_t, xfs_off_t, xfs_off_t); #else -#define xfs_rw_enter_trace(tag, io, iovec, segs, offset, ioflags) +#define xfs_rw_enter_trace(tag, io, data, size, offset, ioflags) #define xfs_inval_cached_trace(io, offset, len, first, last) #endif |