diff options
author | Eric Sandeen <sandeen@redhat.com> | 2016-01-04 16:10:19 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-01-04 16:10:19 +1100 |
commit | 233135b763db7c64d07b728a9c66745fb0376275 (patch) | |
tree | 0b091cd4c785f3fad2d245d9fc9a842f3067681b /fs/xfs/xfs_buf.h | |
parent | 1d4292bfdc77f4f7c520064be15d0c46bd025fd2 (diff) | |
download | linux-stable-233135b763db7c64d07b728a9c66745fb0376275.tar.gz linux-stable-233135b763db7c64d07b728a9c66745fb0376275.tar.bz2 linux-stable-233135b763db7c64d07b728a9c66745fb0376275.zip |
xfs: print name of verifier if it fails
This adds a name to each buf_ops structure, so that if
a verifier fails we can print the type of verifier that
failed it. Should be a slight debugging aid, I hope.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_buf.h')
-rw-r--r-- | fs/xfs/xfs_buf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h index c79b717d9b88..c75721acd867 100644 --- a/fs/xfs/xfs_buf.h +++ b/fs/xfs/xfs_buf.h @@ -132,6 +132,7 @@ struct xfs_buf_map { struct xfs_buf_map (map) = { .bm_bn = (blkno), .bm_len = (numblk) }; struct xfs_buf_ops { + char *name; void (*verify_read)(struct xfs_buf *); void (*verify_write)(struct xfs_buf *); }; |