summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_da_btree.c
diff options
context:
space:
mode:
authorEric Sandeen2016-01-04 06:10:19 +0100
committerDave Chinner2016-01-04 06:10:19 +0100
commit233135b763db7c64d07b728a9c66745fb0376275 (patch)
tree0b091cd4c785f3fad2d245d9fc9a842f3067681b /fs/xfs/libxfs/xfs_da_btree.c
parentlibxfs: Optimize the loop for xfs_bitmap_empty (diff)
downloadkernel-qcow2-linux-233135b763db7c64d07b728a9c66745fb0376275.tar.gz
kernel-qcow2-linux-233135b763db7c64d07b728a9c66745fb0376275.tar.xz
kernel-qcow2-linux-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_da_btree.c')
-rw-r--r--fs/xfs/libxfs/xfs_da_btree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_da_btree.c b/fs/xfs/libxfs/xfs_da_btree.c
index e89a0f8f827c..097bf7717d80 100644
--- a/fs/xfs/libxfs/xfs_da_btree.c
+++ b/fs/xfs/libxfs/xfs_da_btree.c
@@ -245,6 +245,7 @@ xfs_da3_node_read_verify(
}
const struct xfs_buf_ops xfs_da3_node_buf_ops = {
+ .name = "xfs_da3_node",
.verify_read = xfs_da3_node_read_verify,
.verify_write = xfs_da3_node_write_verify,
};