aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-06-23 18:11:15 +1000
committerAlex Elder <aelder@sgi.com>2010-07-26 13:16:36 -0500
commit4e0d5f926b80b06234a4ed664d6ae8c54fb08c4b (patch)
tree6e8412c8e0dec25e5e895acb3e73fc25855800dd /fs/xfs/xfs_log.h
parent898621d5a72c6799a9a13fce20443b4b6699899c (diff)
downloadkernel_samsung_smdk4412-4e0d5f926b80b06234a4ed664d6ae8c54fb08c4b.zip
kernel_samsung_smdk4412-4e0d5f926b80b06234a4ed664d6ae8c54fb08c4b.tar.gz
kernel_samsung_smdk4412-4e0d5f926b80b06234a4ed664d6ae8c54fb08c4b.tar.bz2
xfs: fix the xfs_log_iovec i_addr type
By making this member a void pointer we can get rid of a lot of pointless casts. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_log.h')
-rw-r--r--fs/xfs/xfs_log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.h b/fs/xfs/xfs_log.h
index 04c78e6..5b72e9a 100644
--- a/fs/xfs/xfs_log.h
+++ b/fs/xfs/xfs_log.h
@@ -104,7 +104,7 @@ static inline xfs_lsn_t _lsn_cmp(xfs_lsn_t lsn1, xfs_lsn_t lsn2)
#define XLOG_REG_TYPE_MAX 19
typedef struct xfs_log_iovec {
- xfs_caddr_t i_addr; /* beginning address of region */
+ void *i_addr; /* beginning address of region */
int i_len; /* length in bytes of region */
uint i_type; /* type of region */
} xfs_log_iovec_t;