summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_trans_resv.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_trans_resv.h')
-rw-r--r--fs/xfs/xfs_trans_resv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/xfs_trans_resv.h b/fs/xfs/xfs_trans_resv.h
index b8d5666990fe..140d3f367284 100644
--- a/fs/xfs/xfs_trans_resv.h
+++ b/fs/xfs/xfs_trans_resv.h
@@ -65,6 +65,9 @@ struct xfs_trans_resv {
struct xfs_trans_res tr_fsyncts; /* update timestamps on fsync */
};
+/* shorthand way of accessing reservation structure */
+#define M_RES(mp) (&(mp)->m_resv)
+
/*
* Per-extent log reservation for the allocation btree changes
* involved in freeing or allocating an extent.