xfs: remove xfs_trans_get_block_res
Just use the t_blk_res field directly instead of obsfucating the reference by a macro. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:

committed by
Dave Chinner

parent
12c3f05c7b
commit
a7e5d03ba8
@@ -133,7 +133,6 @@ typedef struct xfs_trans {
|
||||
* XFS transaction mechanism exported interfaces that are
|
||||
* actually macros.
|
||||
*/
|
||||
#define xfs_trans_get_block_res(tp) ((tp)->t_blk_res)
|
||||
#define xfs_trans_set_sync(tp) ((tp)->t_flags |= XFS_TRANS_SYNC)
|
||||
|
||||
#if defined(DEBUG) || defined(XFS_WARN)
|
||||
|
Reference in New Issue
Block a user