summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trans.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-03-01 23:58:21 +0100
committerDave Chinner <david@fromorbit.com>2016-03-01 23:58:21 +0100
commita7e5d03ba8882aa772c691f16690fe7e73cee257 (patch)
treedbb0d2db81a19d5f3fd1514a4c6f5eef0965c40f /fs/xfs/xfs_trans.h
parentxfs: fix up inode32/64 (re)mount handling (diff)
downloadlinux-a7e5d03ba8882aa772c691f16690fe7e73cee257.tar.xz
linux-a7e5d03ba8882aa772c691f16690fe7e73cee257.zip
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>
Diffstat (limited to 'fs/xfs/xfs_trans.h')
-rw-r--r--fs/xfs/xfs_trans.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans.h b/fs/xfs/xfs_trans.h
index 4643070d7cae..e7c49cf43fbc 100644
--- a/fs/xfs/xfs_trans.h
+++ b/fs/xfs/xfs_trans.h
@@ -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)