Commit 8e4b20ea authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Darrick J. Wong

xfs: remove the dummy iop_push implementation for inode creation items

This method should never be called, so don't waste code on it.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarBrian Foster <bfoster@redhat.com>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
parent e8b78db7
...@@ -83,23 +83,12 @@ xfs_icreate_item_committed( ...@@ -83,23 +83,12 @@ xfs_icreate_item_committed(
return (xfs_lsn_t)-1; return (xfs_lsn_t)-1;
} }
/* item can never get into the AIL */
STATIC uint
xfs_icreate_item_push(
struct xfs_log_item *lip,
struct list_head *buffer_list)
{
ASSERT(0);
return XFS_ITEM_SUCCESS;
}
/* /*
* This is the ops vector shared by all buf log items. * This is the ops vector shared by all buf log items.
*/ */
static const struct xfs_item_ops xfs_icreate_item_ops = { static const struct xfs_item_ops xfs_icreate_item_ops = {
.iop_size = xfs_icreate_item_size, .iop_size = xfs_icreate_item_size,
.iop_format = xfs_icreate_item_format, .iop_format = xfs_icreate_item_format,
.iop_push = xfs_icreate_item_push,
.iop_unlock = xfs_icreate_item_unlock, .iop_unlock = xfs_icreate_item_unlock,
.iop_committed = xfs_icreate_item_committed, .iop_committed = xfs_icreate_item_committed,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment