summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_refcount_item.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-05-02 01:00:55 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2020-05-08 17:50:01 +0200
commit889eb55dd68f97729adccb8c06834b35e8bd9590 (patch)
tree980c8c0195d70b7f55f29f1daee1f540c5cceaa7 /fs/xfs/xfs_refcount_item.h
parentxfs: refactor adding recovered intent items to the log (diff)
downloadlinux-889eb55dd68f97729adccb8c06834b35e8bd9590.tar.xz
linux-889eb55dd68f97729adccb8c06834b35e8bd9590.zip
xfs: refactor intent item RECOVERED flag into the log item
Rename XFS_{EFI,BUI,RUI,CUI}_RECOVERED to XFS_LI_RECOVERED so that we track recovery status in the log item, then get rid of the now unused flags fields in each of those log item types. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_refcount_item.h')
-rw-r--r--fs/xfs/xfs_refcount_item.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/xfs/xfs_refcount_item.h b/fs/xfs/xfs_refcount_item.h
index cfaa857673a6..f4f2e836540b 100644
--- a/fs/xfs/xfs_refcount_item.h
+++ b/fs/xfs/xfs_refcount_item.h
@@ -33,11 +33,6 @@ struct kmem_zone;
#define XFS_CUI_MAX_FAST_EXTENTS 16
/*
- * Define CUI flag bits. Manipulated by set/clear/test_bit operators.
- */
-#define XFS_CUI_RECOVERED 1
-
-/*
* This is the "refcount update intent" log item. It is used to log
* the fact that some reverse mappings need to change. It is used in
* conjunction with the "refcount update done" log item described
@@ -51,7 +46,6 @@ struct xfs_cui_log_item {
struct xfs_log_item cui_item;
atomic_t cui_refcount;
atomic_t cui_next_extent;
- unsigned long cui_flags; /* misc flags */
struct xfs_cui_log_format cui_format;
};