summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/repair.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-07-19 22:29:12 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-23 19:08:01 +0300
commit032d91f9820f6d241dc5584c27a668cfd377aaf0 (patch)
treeaf9ed13b2a9e85cca186d9e38d71dda69b1f2119 /fs/xfs/scrub/repair.h
parent1d8a748a8aa94a7da8f3d4fac1892037890d3cff (diff)
downloadlinux-032d91f9820f6d241dc5584c27a668cfd377aaf0.tar.xz
xfs: fix indentation and other whitespace problems in scrub/repair
Now that we've shortened everything, fix up all the indentation and whitespace problems. 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.h')
-rw-r--r--fs/xfs/scrub/repair.h28
1 files changed, 12 insertions, 16 deletions
diff --git a/fs/xfs/scrub/repair.h b/fs/xfs/scrub/repair.h
index 677f4b73b5ec..91355f6b0087 100644
--- a/fs/xfs/scrub/repair.h
+++ b/fs/xfs/scrub/repair.h
@@ -15,33 +15,31 @@ static inline int xrep_notsupported(struct xfs_scrub *sc)
/* Repair helpers */
-int xrep_attempt(struct xfs_inode *ip, struct xfs_scrub *sc,
- bool *fixed);
+int xrep_attempt(struct xfs_inode *ip, struct xfs_scrub *sc, bool *fixed);
void xrep_failure(struct xfs_mount *mp);
int xrep_roll_ag_trans(struct xfs_scrub *sc);
bool xrep_ag_has_space(struct xfs_perag *pag, xfs_extlen_t nr_blocks,
enum xfs_ag_resv_type type);
xfs_extlen_t xrep_calc_ag_resblks(struct xfs_scrub *sc);
-int xrep_alloc_ag_block(struct xfs_scrub *sc,
- struct xfs_owner_info *oinfo, xfs_fsblock_t *fsbno,
- enum xfs_ag_resv_type resv);
+int xrep_alloc_ag_block(struct xfs_scrub *sc, struct xfs_owner_info *oinfo,
+ xfs_fsblock_t *fsbno, enum xfs_ag_resv_type resv);
int xrep_init_btblock(struct xfs_scrub *sc, xfs_fsblock_t fsb,
struct xfs_buf **bpp, xfs_btnum_t btnum,
const struct xfs_buf_ops *ops);
struct xrep_extent {
- struct list_head list;
- xfs_fsblock_t fsbno;
- xfs_extlen_t len;
+ struct list_head list;
+ xfs_fsblock_t fsbno;
+ xfs_extlen_t len;
};
struct xrep_extent_list {
- struct list_head list;
+ struct list_head list;
};
static inline void
xrep_init_extent_list(
- struct xrep_extent_list *exlist)
+ struct xrep_extent_list *exlist)
{
INIT_LIST_HEAD(&exlist->list);
}
@@ -78,10 +76,8 @@ struct xrep_find_ag_btree {
unsigned int height;
};
-int xrep_find_ag_btree_roots(struct xfs_scrub *sc,
- struct xfs_buf *agf_bp,
- struct xrep_find_ag_btree *btree_info,
- struct xfs_buf *agfl_bp);
+int xrep_find_ag_btree_roots(struct xfs_scrub *sc, struct xfs_buf *agf_bp,
+ struct xrep_find_ag_btree *btree_info, struct xfs_buf *agfl_bp);
void xrep_force_quotacheck(struct xfs_scrub *sc, uint dqtype);
int xrep_ino_dqattach(struct xfs_scrub *sc);
@@ -93,9 +89,9 @@ int xrep_superblock(struct xfs_scrub *sc);
#else
static inline int xrep_attempt(
- struct xfs_inode *ip,
+ struct xfs_inode *ip,
struct xfs_scrub *sc,
- bool *fixed)
+ bool *fixed)
{
return -EOPNOTSUPP;
}