hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/fs/xfs/xfs_rmap_item.h
....@@ -36,11 +36,6 @@
3636 #define XFS_RUI_MAX_FAST_EXTENTS 16
3737
3838 /*
39
- * Define RUI flag bits. Manipulated by set/clear/test_bit operators.
40
- */
41
-#define XFS_RUI_RECOVERED 1
42
-
43
-/*
4439 * This is the "rmap update intent" log item. It is used to log the fact that
4540 * some reverse mappings need to change. It is used in conjunction with the
4641 * "rmap update done" log item described below.
....@@ -52,7 +47,6 @@
5247 struct xfs_log_item rui_item;
5348 atomic_t rui_refcount;
5449 atomic_t rui_next_extent;
55
- unsigned long rui_flags; /* misc flags */
5650 struct xfs_rui_log_format rui_format;
5751 };
5852
....@@ -76,14 +70,5 @@
7670
7771 extern struct kmem_zone *xfs_rui_zone;
7872 extern struct kmem_zone *xfs_rud_zone;
79
-
80
-struct xfs_rui_log_item *xfs_rui_init(struct xfs_mount *, uint);
81
-struct xfs_rud_log_item *xfs_rud_init(struct xfs_mount *,
82
- struct xfs_rui_log_item *);
83
-int xfs_rui_copy_format(struct xfs_log_iovec *buf,
84
- struct xfs_rui_log_format *dst_rui_fmt);
85
-void xfs_rui_item_free(struct xfs_rui_log_item *);
86
-void xfs_rui_release(struct xfs_rui_log_item *);
87
-int xfs_rui_recover(struct xfs_mount *mp, struct xfs_rui_log_item *ruip);
8873
8974 #endif /* __XFS_RMAP_ITEM_H__ */