diff options
author | Christoph Hellwig <hch@lst.de> | 2011-07-08 08:34:47 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2011-07-08 08:34:47 -0400 |
commit | f3ca87389dbff0a3dc1a7cb2fa7c62e25421c66c (patch) | |
tree | 39a6aa16be0bbab79e65525d57404b23eaff0205 /fs/xfs/xfs_inode.h | |
parent | 7a249cf83da1813cfa71cfe1e265b40045eceb47 (diff) |
xfs: remove i_transp
Remove the transaction pointer in the inode. It's only used to avoid
passing down an argument in the bmap code, and for a few asserts in
the transaction code right now.
Also use the local variable ip in a few more places in xfs_inode_item_unlock,
so that it isn't only used for debug builds after the above change.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r-- | fs/xfs/xfs_inode.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index 6495578efe05..a97644ab945a 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h | |||
@@ -241,7 +241,6 @@ typedef struct xfs_inode { | |||
241 | xfs_ifork_t i_df; /* data fork */ | 241 | xfs_ifork_t i_df; /* data fork */ |
242 | 242 | ||
243 | /* Transaction and locking information. */ | 243 | /* Transaction and locking information. */ |
244 | struct xfs_trans *i_transp; /* ptr to owning transaction*/ | ||
245 | struct xfs_inode_log_item *i_itemp; /* logging information */ | 244 | struct xfs_inode_log_item *i_itemp; /* logging information */ |
246 | mrlock_t i_lock; /* inode lock */ | 245 | mrlock_t i_lock; /* inode lock */ |
247 | mrlock_t i_iolock; /* inode IO lock */ | 246 | mrlock_t i_iolock; /* inode IO lock */ |