diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-07-19 22:29:12 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-07-23 19:08:00 +0300 |
commit | 1d8a748a8aa94a7da8f3d4fac1892037890d3cff (patch) | |
tree | f8698e3a17ccf281ad14eb47b8bef8cbfa751c97 /fs/xfs/scrub/btree.h | |
parent | b5e2196e9c7217387bab2ab4231ad9f4585f55c5 (diff) | |
download | linux-1d8a748a8aa94a7da8f3d4fac1892037890d3cff.tar.xz |
xfs: shorten struct xfs_scrub_context to struct xfs_scrub
Shorten the name of the online fsck context structure. Whitespace
damage will be fixed by a subsequent patch. There are no functional
changes.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/scrub/btree.h')
-rw-r--r-- | fs/xfs/scrub/btree.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/xfs/scrub/btree.h b/fs/xfs/scrub/btree.h index 598ac04a6c3e..a0b74b515b9b 100644 --- a/fs/xfs/scrub/btree.h +++ b/fs/xfs/scrub/btree.h @@ -9,20 +9,20 @@ /* btree scrub */ /* Check for btree operation errors. */ -bool xchk_btree_process_error(struct xfs_scrub_context *sc, +bool xchk_btree_process_error(struct xfs_scrub *sc, struct xfs_btree_cur *cur, int level, int *error); /* Check for btree xref operation errors. */ -bool xchk_btree_xref_process_error(struct xfs_scrub_context *sc, +bool xchk_btree_xref_process_error(struct xfs_scrub *sc, struct xfs_btree_cur *cur, int level, int *error); /* Check for btree corruption. */ -void xchk_btree_set_corrupt(struct xfs_scrub_context *sc, +void xchk_btree_set_corrupt(struct xfs_scrub *sc, struct xfs_btree_cur *cur, int level); /* Check for btree xref discrepancies. */ -void xchk_btree_xref_set_corrupt(struct xfs_scrub_context *sc, +void xchk_btree_xref_set_corrupt(struct xfs_scrub *sc, struct xfs_btree_cur *cur, int level); struct xchk_btree; @@ -32,7 +32,7 @@ typedef int (*xchk_btree_rec_fn)( struct xchk_btree { /* caller-provided scrub state */ - struct xfs_scrub_context *sc; + struct xfs_scrub *sc; struct xfs_btree_cur *cur; xchk_btree_rec_fn scrub_rec; struct xfs_owner_info *oinfo; @@ -45,7 +45,7 @@ struct xchk_btree { bool firstkey[XFS_BTREE_MAXLEVELS]; struct list_head to_check; }; -int xchk_btree(struct xfs_scrub_context *sc, struct xfs_btree_cur *cur, +int xchk_btree(struct xfs_scrub *sc, struct xfs_btree_cur *cur, xchk_btree_rec_fn scrub_fn, struct xfs_owner_info *oinfo, void *private); |