summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/common.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-01-16 10:12:39 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2019-02-04 09:31:22 -0800
commitedf60a8373c02bfc90a1bc8729ecc92828ec2b00 (patch)
tree6a3d5ddeaaa6f765b1c5402f33c17851ecc80bee /fs/xfs/scrub/common.h
parentbabcf3e7ff0e5ac0cc5f583cc75278bc0ab633be (diff)
xfs: whine to dmesg when we encounter errorsdjwong-wtf_2019-02-04
Forward everything scrub whines about to dmesg. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/scrub/common.h')
-rw-r--r--fs/xfs/scrub/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/scrub/common.h b/fs/xfs/scrub/common.h
index 3d8a55b13dcc..e1276db2fe4c 100644
--- a/fs/xfs/scrub/common.h
+++ b/fs/xfs/scrub/common.h
@@ -132,6 +132,7 @@ int xchk_get_inode(struct xfs_scrub *sc, struct xfs_inode *ip_in);
int xchk_setup_inode_contents(struct xfs_scrub *sc, struct xfs_inode *ip,
unsigned int resblks);
void xchk_buffer_recheck(struct xfs_scrub *sc, struct xfs_buf *bp);
+void xfs_scrub_whine(const struct xfs_mount *mp, const char *fmt, ...);
/*
* Don't bother cross-referencing if we already found corruption or cross