diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-08-28 21:12:03 +1000 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-08-30 14:14:35 -0500 |
commit | 904c17e6832845cc651a4d5108a7d57eacdb61f7 (patch) | |
tree | 3ff65a6349ccea7752f4beb06ce438625b3e2b72 /fs/xfs/xfs_trans.h | |
parent | 239567033c38933c4d6f402f9f8a2126df73e4c6 (diff) | |
download | linux-904c17e6832845cc651a4d5108a7d57eacdb61f7.tar.gz linux-904c17e6832845cc651a4d5108a7d57eacdb61f7.tar.bz2 linux-904c17e6832845cc651a4d5108a7d57eacdb61f7.zip |
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 { void (*iop_committing)(xfs_log_item_t *, xfs_lsn_t); }; -#define IOP_UNPIN(ip, remove) (*(ip)->li_ops->iop_unpin)(ip, remove) -#define IOP_PUSH(ip, list) (*(ip)->li_ops->iop_push)(ip, list) -#define IOP_UNLOCK(ip) (*(ip)->li_ops->iop_unlock)(ip) -#define IOP_COMMITTED(ip, lsn) (*(ip)->li_ops->iop_committed)(ip, lsn) -#define IOP_COMMITTING(ip, lsn) (*(ip)->li_ops->iop_committing)(ip, lsn) - /* - * Return values for the IOP_PUSH() routines. + * Return values for the iop_push() routines. */ #define XFS_ITEM_SUCCESS 0 #define XFS_ITEM_PINNED 1 |