summaryrefslogtreecommitdiffstats
path: root/fs/xfs/scrub/bmap.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-07-19 12:29:12 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-23 09:08:00 -0700
commit1d8a748a8aa94a7da8f3d4fac1892037890d3cff (patch)
treef8698e3a17ccf281ad14eb47b8bef8cbfa751c97 /fs/xfs/scrub/bmap.c
parentb5e2196e9c7217387bab2ab4231ad9f4585f55c5 (diff)
downloadlinux-1d8a748a8aa94a7da8f3d4fac1892037890d3cff.tar.bz2
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/bmap.c')
-rw-r--r--fs/xfs/scrub/bmap.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/fs/xfs/scrub/bmap.c b/fs/xfs/scrub/bmap.c
index 19cfbd3910a2..0e5166232b15 100644
--- a/fs/xfs/scrub/bmap.c
+++ b/fs/xfs/scrub/bmap.c
@@ -34,7 +34,7 @@
/* Set us up with an inode's bmap. */
int
xchk_setup_inode_bmap(
- struct xfs_scrub_context *sc,
+ struct xfs_scrub *sc,
struct xfs_inode *ip)
{
int error;
@@ -79,7 +79,7 @@ out:
*/
struct xchk_bmap_info {
- struct xfs_scrub_context *sc;
+ struct xfs_scrub *sc;
xfs_fileoff_t lastoff;
bool is_rt;
bool is_shared;
@@ -391,7 +391,7 @@ xchk_bmapbt_rec(
/* Scan the btree records. */
STATIC int
xchk_bmap_btree(
- struct xfs_scrub_context *sc,
+ struct xfs_scrub *sc,
int whichfork,
struct xchk_bmap_info *info)
{
@@ -409,7 +409,7 @@ xchk_bmap_btree(
}
struct xchk_bmap_check_rmap_info {
- struct xfs_scrub_context *sc;
+ struct xfs_scrub *sc;
int whichfork;
struct xfs_iext_cursor icur;
};
@@ -424,7 +424,7 @@ xchk_bmap_check_rmap(
struct xfs_bmbt_irec irec;
struct xchk_bmap_check_rmap_info *sbcri = priv;
struct xfs_ifork *ifp;
- struct xfs_scrub_context *sc = sbcri->sc;
+ struct xfs_scrub *sc = sbcri->sc;
bool have_map;
/* Is this even the right fork? */
@@ -488,7 +488,7 @@ out:
/* Make sure each rmap has a corresponding bmbt entry. */
STATIC int
xchk_bmap_check_ag_rmaps(
- struct xfs_scrub_context *sc,
+ struct xfs_scrub *sc,
int whichfork,
xfs_agnumber_t agno)
{
@@ -522,7 +522,7 @@ out_agf:
/* Make sure each rmap has a corresponding bmbt entry. */
STATIC int
xchk_bmap_check_rmaps(
- struct xfs_scrub_context *sc,
+ struct xfs_scrub *sc,
int whichfork)
{
loff_t size;
@@ -579,7 +579,7 @@ xchk_bmap_check_rmaps(
*/
STATIC int
xchk_bmap(
- struct xfs_scrub_context *sc,
+ struct xfs_scrub *sc,
int whichfork)
{
struct xfs_bmbt_irec irec;
@@ -694,7 +694,7 @@ out:
/* Scrub an inode's data fork. */
int
xchk_bmap_data(
- struct xfs_scrub_context *sc)
+ struct xfs_scrub *sc)
{
return xchk_bmap(sc, XFS_DATA_FORK);
}
@@ -702,7 +702,7 @@ xchk_bmap_data(
/* Scrub an inode's attr fork. */
int
xchk_bmap_attr(
- struct xfs_scrub_context *sc)
+ struct xfs_scrub *sc)
{
return xchk_bmap(sc, XFS_ATTR_FORK);
}
@@ -710,7 +710,7 @@ xchk_bmap_attr(
/* Scrub an inode's CoW fork. */
int
xchk_bmap_cow(
- struct xfs_scrub_context *sc)
+ struct xfs_scrub *sc)
{
if (!xfs_is_reflink_inode(sc->ip))
return -ENOENT;