aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap_item.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-10-03 09:11:26 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2016-10-04 11:05:44 -0700
commit77d61fe45e720577a2cc0e9580fbc57d8faa7232 (patch)
tree698e6cd533915c0a560f0c7478f1b0699d223bea /fs/xfs/xfs_bmap_item.h
parentxfs: create bmbt update intent log items (diff)
downloadlinux-dev-77d61fe45e720577a2cc0e9580fbc57d8faa7232.tar.xz
linux-dev-77d61fe45e720577a2cc0e9580fbc57d8faa7232.zip
xfs: log bmap intent items
Provide a mechanism for higher levels to create BUI/BUD items, submit them to the log, and a stub function to deal with recovered BUI items. These parts will be connected to the rmapbt 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_bmap_item.h')
-rw-r--r--fs/xfs/xfs_bmap_item.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_bmap_item.h b/fs/xfs/xfs_bmap_item.h
index 57c13d3a9b03..c867daae4a3c 100644
--- a/fs/xfs/xfs_bmap_item.h
+++ b/fs/xfs/xfs_bmap_item.h
@@ -93,5 +93,6 @@ struct xfs_bud_log_item *xfs_bud_init(struct xfs_mount *,
struct xfs_bui_log_item *);
void xfs_bui_item_free(struct xfs_bui_log_item *);
void xfs_bui_release(struct xfs_bui_log_item *);
+int xfs_bui_recover(struct xfs_mount *mp, struct xfs_bui_log_item *buip);
#endif /* __XFS_BMAP_ITEM_H__ */