diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-01-19 09:56:45 +0000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-01-21 13:44:43 -0600 |
commit | 4139b3b337cffd106744386c842b89dc86e31d4b (patch) | |
tree | 13e98549e956cabcaf88dd3218268ae643802c78 /fs/xfs/xfs_log.h | |
parent | 0cadda1c5f194f98a05d252ff4385d86d2ed0862 (diff) | |
download | op-kernel-dev-4139b3b337cffd106744386c842b89dc86e31d4b.zip op-kernel-dev-4139b3b337cffd106744386c842b89dc86e31d4b.tar.gz |
xfs: kill XLOG_VEC_SET_TYPE
This macro only obsfucates the log item type assignments, so kill it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log.h')
-rw-r--r-- | fs/xfs/xfs_log.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/xfs_log.h b/fs/xfs/xfs_log.h index d0c9baa..811ccf4 100644 --- a/fs/xfs/xfs_log.h +++ b/fs/xfs/xfs_log.h @@ -110,10 +110,8 @@ static inline xfs_lsn_t _lsn_cmp(xfs_lsn_t lsn1, xfs_lsn_t lsn2) #define XLOG_REG_TYPE_TRANSHDR 19 #define XLOG_REG_TYPE_MAX 19 -#define XLOG_VEC_SET_TYPE(vecp, t) ((vecp)->i_type = (t)) - typedef struct xfs_log_iovec { - xfs_caddr_t i_addr; /* beginning address of region */ + xfs_caddr_t i_addr; /* beginning address of region */ int i_len; /* length in bytes of region */ uint i_type; /* type of region */ } xfs_log_iovec_t; |