diff options
author | Darrick J. Wong | 2018-07-19 12:29:12 -0700 |
---|---|---|
committer | Darrick J. Wong | 2018-07-23 09:08:00 -0700 |
commit | 1d8a748a8aa94a7da8f3d4fac1892037890d3cff (patch) | |
tree | f8698e3a17ccf281ad14eb47b8bef8cbfa751c97 /fs/xfs/scrub/repair.c | |
parent | b5e2196e9c7217387bab2ab4231ad9f4585f55c5 (diff) |
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/repair.c')
-rw-r--r-- | fs/xfs/scrub/repair.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/fs/xfs/scrub/repair.c b/fs/xfs/scrub/repair.c index 7e6a56a5f59d..29debd5649ac 100644 --- a/fs/xfs/scrub/repair.c +++ b/fs/xfs/scrub/repair.c @@ -43,7 +43,7 @@ int xrep_attempt( struct xfs_inode *ip, - struct xfs_scrub_context *sc, + struct xfs_scrub *sc, bool *fixed) { int error = 0; @@ -106,7 +106,7 @@ xrep_failure( */ int xrep_probe( - struct xfs_scrub_context *sc) + struct xfs_scrub *sc) { int error = 0; @@ -122,7 +122,7 @@ xrep_probe( */ int xrep_roll_ag_trans( - struct xfs_scrub_context *sc) + struct xfs_scrub *sc) { int error; @@ -179,7 +179,7 @@ xrep_ag_has_space( */ xfs_extlen_t xrep_calc_ag_resblks( - struct xfs_scrub_context *sc) + struct xfs_scrub *sc) { struct xfs_mount *mp = sc->mp; struct xfs_scrub_metadata *sm = sc->sm; @@ -279,7 +279,7 @@ xrep_calc_ag_resblks( /* Allocate a block in an AG. */ int xrep_alloc_ag_block( - struct xfs_scrub_context *sc, + struct xfs_scrub *sc, struct xfs_owner_info *oinfo, xfs_fsblock_t *fsbno, enum xfs_ag_resv_type resv) @@ -330,7 +330,7 @@ xrep_alloc_ag_block( /* Initialize a new AG btree root block with zero entries. */ int xrep_init_btblock( - struct xfs_scrub_context *sc, + struct xfs_scrub *sc, xfs_fsblock_t fsb, struct xfs_buf **bpp, xfs_btnum_t btnum, @@ -385,7 +385,7 @@ xrep_init_btblock( /* Collect a dead btree extent for later disposal. */ int xrep_collect_btree_extent( - struct xfs_scrub_context *sc, + struct xfs_scrub *sc, struct xrep_extent_list *exlist, xfs_fsblock_t fsbno, xfs_extlen_t len) @@ -415,7 +415,7 @@ xrep_collect_btree_extent( */ void xrep_cancel_btree_extents( - struct xfs_scrub_context *sc, + struct xfs_scrub *sc, struct xrep_extent_list *exlist) { struct xrep_extent *rex; @@ -463,7 +463,7 @@ xrep_btree_extent_cmp( #define RIGHT_ALIGNED (1 << 1) int xrep_subtract_extents( - struct xfs_scrub_context *sc, + struct xfs_scrub *sc, struct xrep_extent_list *exlist, struct xrep_extent_list *sublist) { @@ -620,7 +620,7 @@ out: */ int xrep_invalidate_blocks( - struct xfs_scrub_context *sc, + struct xfs_scrub *sc, struct xrep_extent_list *exlist) { struct xrep_extent *rex; @@ -658,7 +658,7 @@ xrep_invalidate_blocks( /* Ensure the freelist is the correct size. */ int xrep_fix_freelist( - struct xfs_scrub_context *sc, + struct xfs_scrub *sc, bool can_shrink) { struct xfs_alloc_arg args = {0}; @@ -678,7 +678,7 @@ xrep_fix_freelist( */ STATIC int xrep_put_freelist( - struct xfs_scrub_context *sc, + struct xfs_scrub *sc, xfs_agblock_t agbno) { struct xfs_owner_info oinfo; @@ -714,7 +714,7 @@ xrep_put_freelist( /* Dispose of a single metadata block. */ STATIC int xrep_dispose_btree_block( - struct xfs_scrub_context *sc, + struct xfs_scrub *sc, xfs_fsblock_t fsbno, struct xfs_owner_info *oinfo, enum xfs_ag_resv_type resv) @@ -788,7 +788,7 @@ out_free: /* Dispose of btree blocks from an old per-AG btree. */ int xrep_reap_btree_extents( - struct xfs_scrub_context *sc, + struct xfs_scrub *sc, struct xrep_extent_list *exlist, struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type) @@ -851,7 +851,7 @@ out: */ struct xrep_findroot { - struct xfs_scrub_context *sc; + struct xfs_scrub *sc; struct xfs_buf *agfl_bp; struct xfs_agf *agf; struct xrep_find_ag_btree *btree_info; @@ -981,7 +981,7 @@ xrep_findroot_rmap( /* Find the roots of the per-AG btrees described in btree_info. */ int xrep_find_ag_btree_roots( - struct xfs_scrub_context *sc, + struct xfs_scrub *sc, struct xfs_buf *agf_bp, struct xrep_find_ag_btree *btree_info, struct xfs_buf *agfl_bp) @@ -1016,7 +1016,7 @@ xrep_find_ag_btree_roots( /* Force a quotacheck the next time we mount. */ void xrep_force_quotacheck( - struct xfs_scrub_context *sc, + struct xfs_scrub *sc, uint dqtype) { uint flag; @@ -1044,7 +1044,7 @@ xrep_force_quotacheck( */ int xrep_ino_dqattach( - struct xfs_scrub_context *sc) + struct xfs_scrub *sc) { int error; |