summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_rmap_item.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-08-03 12:28:43 +1000
committerDave Chinner <david@fromorbit.com>2016-08-03 12:28:43 +1000
commit722e251770306ee325151b28e40b5d7e5497d687 (patch)
treee08729ba5724bf31c9b6df0331bbb0359ab5ecc1 /fs/xfs/xfs_rmap_item.h
parentc1d22ae89cf6086d6a457b3b9241fcb36ebddd14 (diff)
xfs: remove the extents array from the rmap update done log item
Nothing ever uses the extent array in the rmap update done redo item, so remove it before it is fixed in the on-disk log format. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_rmap_item.h')
-rw-r--r--fs/xfs/xfs_rmap_item.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/xfs/xfs_rmap_item.h b/fs/xfs/xfs_rmap_item.h
index 59ef3ecaa493..aefcc3a318a5 100644
--- a/fs/xfs/xfs_rmap_item.h
+++ b/fs/xfs/xfs_rmap_item.h
@@ -77,21 +77,15 @@ struct xfs_rui_log_item {
struct xfs_rud_log_item {
struct xfs_log_item rud_item;
struct xfs_rui_log_item *rud_ruip;
- uint rud_next_extent;
struct xfs_rud_log_format rud_format;
};
-/*
- * Max number of extents in fast allocation path.
- */
-#define XFS_RUD_MAX_FAST_EXTENTS 16
-
extern struct kmem_zone *xfs_rui_zone;
extern struct kmem_zone *xfs_rud_zone;
struct xfs_rui_log_item *xfs_rui_init(struct xfs_mount *, uint);
struct xfs_rud_log_item *xfs_rud_init(struct xfs_mount *,
- struct xfs_rui_log_item *, uint);
+ struct xfs_rui_log_item *);
int xfs_rui_copy_format(struct xfs_log_iovec *buf,
struct xfs_rui_log_format *dst_rui_fmt);
void xfs_rui_item_free(struct xfs_rui_log_item *);