summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_refcount_item.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-10-03 09:11:21 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2016-10-03 09:11:21 -0700
commitf997ee2137175f5b2bd7ced52acf1ca51f04f420 (patch)
tree541b4b069c0bfae742b59adce7052a21f423cd28 /fs/xfs/xfs_refcount_item.h
parentbaf4bcacb715cebd412b2f4bb69989ef24496523 (diff)
downloadlinux-f997ee2137175f5b2bd7ced52acf1ca51f04f420.tar.bz2
xfs: log refcount intent items
Provide a mechanism for higher levels to create CUI/CUD items, submit them to the log, and a stub function to deal with recovered CUI items. These parts will be connected to the refcountbt in a later patch. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_refcount_item.h b/fs/xfs/xfs_refcount_item.h
index 34b6f7a8c149..5b74dddfa64b 100644
--- a/fs/xfs/xfs_refcount_item.h
+++ b/fs/xfs/xfs_refcount_item.h
@@ -96,5 +96,6 @@ struct xfs_cud_log_item *xfs_cud_init(struct xfs_mount *,
struct xfs_cui_log_item *);
void xfs_cui_item_free(struct xfs_cui_log_item *);
void xfs_cui_release(struct xfs_cui_log_item *);
+int xfs_cui_recover(struct xfs_mount *mp, struct xfs_cui_log_item *cuip);
#endif /* __XFS_REFCOUNT_ITEM_H__ */