diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-08-28 07:12:03 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-08-30 15:14:35 -0400 |
commit | 904c17e6832845cc651a4d5108a7d57eacdb61f7 (patch) | |
tree | 3ff65a6349ccea7752f4beb06ce438625b3e2b72 /fs/xfs/xfs_trans.h | |
parent | 239567033c38933c4d6f402f9f8a2126df73e4c6 (diff) |
xfs: finish removing IOP_* macros.
In optimising the CIL operations, some of the IOP_* macros for
calling log item operations were removed. Remove the rest of them as
Christoph requested.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Geoffrey Wehrman <gwehrman@sgi.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_trans.h')
-rw-r--r-- | fs/xfs/xfs_trans.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/xfs/xfs_trans.h b/fs/xfs/xfs_trans.h index 4786170baeb0..09cf40b89e8c 100644 --- a/fs/xfs/xfs_trans.h +++ b/fs/xfs/xfs_trans.h | |||
@@ -77,14 +77,8 @@ struct xfs_item_ops { | |||
77 | void (*iop_committing)(xfs_log_item_t *, xfs_lsn_t); | 77 | void (*iop_committing)(xfs_log_item_t *, xfs_lsn_t); |
78 | }; | 78 | }; |
79 | 79 | ||
80 | #define IOP_UNPIN(ip, remove) (*(ip)->li_ops->iop_unpin)(ip, remove) | ||
81 | #define IOP_PUSH(ip, list) (*(ip)->li_ops->iop_push)(ip, list) | ||
82 | #define IOP_UNLOCK(ip) (*(ip)->li_ops->iop_unlock)(ip) | ||
83 | #define IOP_COMMITTED(ip, lsn) (*(ip)->li_ops->iop_committed)(ip, lsn) | ||
84 | #define IOP_COMMITTING(ip, lsn) (*(ip)->li_ops->iop_committing)(ip, lsn) | ||
85 | |||
86 | /* | 80 | /* |
87 | * Return values for the IOP_PUSH() routines. | 81 | * Return values for the iop_push() routines. |
88 | */ | 82 | */ |
89 | #define XFS_ITEM_SUCCESS 0 | 83 | #define XFS_ITEM_SUCCESS 0 |
90 | #define XFS_ITEM_PINNED 1 | 84 | #define XFS_ITEM_PINNED 1 |