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>
Showing
- fs/xfs/quota/xfs_trans_dquot.c 1 addition, 1 deletionfs/xfs/quota/xfs_trans_dquot.c
- fs/xfs/xfs_bmap.c 19 additions, 16 deletionsfs/xfs/xfs_bmap.c
- fs/xfs/xfs_inode.c 0 additions, 3 deletionsfs/xfs/xfs_inode.c
- fs/xfs/xfs_inode.h 0 additions, 1 deletionfs/xfs/xfs_inode.h
- fs/xfs/xfs_inode_item.c 4 additions, 9 deletionsfs/xfs/xfs_inode_item.c
- fs/xfs/xfs_trans_inode.c 0 additions, 9 deletionsfs/xfs/xfs_trans_inode.c
Loading
Please register or sign in to comment