aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_bmap_btree.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2016-01-04 16:10:19 +1100
committerDave Chinner <david@fromorbit.com>2016-01-04 16:10:19 +1100
commit233135b763db7c64d07b728a9c66745fb0376275 (patch)
tree0b091cd4c785f3fad2d245d9fc9a842f3067681b /fs/xfs/libxfs/xfs_bmap_btree.c
parentlibxfs: Optimize the loop for xfs_bitmap_empty (diff)
downloadlinux-dev-233135b763db7c64d07b728a9c66745fb0376275.tar.xz
linux-dev-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/libxfs/xfs_bmap_btree.c')
-rw-r--r--fs/xfs/libxfs/xfs_bmap_btree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_bmap_btree.c b/fs/xfs/libxfs/xfs_bmap_btree.c
index 6b0cf6546a82..1637c37bfbaa 100644
--- a/fs/xfs/libxfs/xfs_bmap_btree.c
+++ b/fs/xfs/libxfs/xfs_bmap_btree.c
@@ -720,6 +720,7 @@ xfs_bmbt_write_verify(
}
const struct xfs_buf_ops xfs_bmbt_buf_ops = {
+ .name = "xfs_bmbt",
.verify_read = xfs_bmbt_read_verify,
.verify_write = xfs_bmbt_write_verify,
};