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/quota/xfs_trans_dquot.c | |
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/quota/xfs_trans_dquot.c')
-rw-r--r-- | fs/xfs/quota/xfs_trans_dquot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/quota/xfs_trans_dquot.c b/fs/xfs/quota/xfs_trans_dquot.c index 2a3648731331..24084edb7803 100644 --- a/fs/xfs/quota/xfs_trans_dquot.c +++ b/fs/xfs/quota/xfs_trans_dquot.c | |||
@@ -59,7 +59,7 @@ xfs_trans_dqjoin( | |||
59 | xfs_trans_add_item(tp, &dqp->q_logitem.qli_item); | 59 | xfs_trans_add_item(tp, &dqp->q_logitem.qli_item); |
60 | 60 | ||
61 | /* | 61 | /* |
62 | * Initialize i_transp so we can later determine if this dquot is | 62 | * Initialize d_transp so we can later determine if this dquot is |
63 | * associated with this transaction. | 63 | * associated with this transaction. |
64 | */ | 64 | */ |
65 | dqp->q_transp = tp; | 65 | dqp->q_transp = tp; |