aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rmap_item.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-08-03 12:09:48 +1000
committerDave Chinner <david@fromorbit.com>2016-08-03 12:09:48 +1000
commit9e88b5d86703bb836d33dcd0c70eb59e049c80c7 (patch)
tree123f5b81adf8a7da7cb4d3e0a18f1de2afd5b4c0 /fs/xfs/xfs_rmap_item.h
parentxfs: create rmap update intent log items (diff)
downloadlinux-dev-9e88b5d86703bb836d33dcd0c70eb59e049c80c7.tar.xz
linux-dev-9e88b5d86703bb836d33dcd0c70eb59e049c80c7.zip
xfs: log rmap intent items
Provide a mechanism for higher levels to create RUI/RUD items, submit them to the log, and a stub function to deal with recovered RUI 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: 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_rmap_item.h b/fs/xfs/xfs_rmap_item.h
index bd36ab50c0fe..59ef3ecaa493 100644
--- a/fs/xfs/xfs_rmap_item.h
+++ b/fs/xfs/xfs_rmap_item.h
@@ -96,5 +96,6 @@ 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 *);
void xfs_rui_release(struct xfs_rui_log_item *);
+int xfs_rui_recover(struct xfs_mount *mp, struct xfs_rui_log_item *ruip);
#endif /* __XFS_RMAP_ITEM_H__ */