diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-01-16 10:12:39 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-02-04 09:31:22 -0800 |
commit | edf60a8373c02bfc90a1bc8729ecc92828ec2b00 (patch) | |
tree | 6a3d5ddeaaa6f765b1c5402f33c17851ecc80bee /fs/xfs/scrub/common.h | |
parent | babcf3e7ff0e5ac0cc5f583cc75278bc0ab633be (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.h | 1 |
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 |