xfs: print name of verifier if it fails
[firefly-linux-kernel-4.4.55.git] / fs / xfs / libxfs / xfs_alloc.c
index 3479294c1d586603d75c432267a91ff744a31006..e1e7fe3b5424c8e619be4fe25930eb6ca414c6ea 100644 (file)
@@ -535,6 +535,7 @@ xfs_agfl_write_verify(
 }
 
 const struct xfs_buf_ops xfs_agfl_buf_ops = {
+       .name = "xfs_agfl",
        .verify_read = xfs_agfl_read_verify,
        .verify_write = xfs_agfl_write_verify,
 };
@@ -2339,6 +2340,7 @@ xfs_agf_write_verify(
 }
 
 const struct xfs_buf_ops xfs_agf_buf_ops = {
+       .name = "xfs_agf",
        .verify_read = xfs_agf_read_verify,
        .verify_write = xfs_agf_write_verify,
 };