diff options
author | Christoph Hellwig <hch@lst.de> | 2011-07-08 14:34:47 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2011-07-08 14:34:47 +0200 |
commit | f3ca87389dbff0a3dc1a7cb2fa7c62e25421c66c (patch) | |
tree | 39a6aa16be0bbab79e65525d57404b23eaff0205 /fs/xfs/quota | |
parent | 7a249cf83da1813cfa71cfe1e265b40045eceb47 (diff) | |
download | op-kernel-dev-f3ca87389dbff0a3dc1a7cb2fa7c62e25421c66c.zip op-kernel-dev-f3ca87389dbff0a3dc1a7cb2fa7c62e25421c66c.tar.gz |
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')
-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 2a36487..24084ed 100644 --- a/fs/xfs/quota/xfs_trans_dquot.c +++ b/fs/xfs/quota/xfs_trans_dquot.c @@ -59,7 +59,7 @@ xfs_trans_dqjoin( xfs_trans_add_item(tp, &dqp->q_logitem.qli_item); /* - * Initialize i_transp so we can later determine if this dquot is + * Initialize d_transp so we can later determine if this dquot is * associated with this transaction. */ dqp->q_transp = tp; |