Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 233135b7 authored by Eric Sandeen's avatar Eric Sandeen Committed by Dave Chinner
Browse files

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: default avatarEric Sandeen <sandeen@redhat.com>
Reviewed-by: default avatarBrian Foster <bfoster@redhat.com>
Signed-off-by: default avatarDave Chinner <david@fromorbit.com>
parent 1d4292bf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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,
};
+1 −0
Original line number Diff line number Diff line
@@ -379,6 +379,7 @@ xfs_allocbt_write_verify(
}

const struct xfs_buf_ops xfs_allocbt_buf_ops = {
	.name = "xfs_allocbt",
	.verify_read = xfs_allocbt_read_verify,
	.verify_write = xfs_allocbt_write_verify,
};
+1 −0
Original line number Diff line number Diff line
@@ -328,6 +328,7 @@ xfs_attr3_leaf_read_verify(
}

const struct xfs_buf_ops xfs_attr3_leaf_buf_ops = {
	.name = "xfs_attr3_leaf",
	.verify_read = xfs_attr3_leaf_read_verify,
	.verify_write = xfs_attr3_leaf_write_verify,
};
+1 −0
Original line number Diff line number Diff line
@@ -201,6 +201,7 @@ xfs_attr3_rmt_write_verify(
}

const struct xfs_buf_ops xfs_attr3_rmt_buf_ops = {
	.name = "xfs_attr3_rmt",
	.verify_read = xfs_attr3_rmt_read_verify,
	.verify_write = xfs_attr3_rmt_write_verify,
};
+1 −0
Original line number Diff line number Diff line
@@ -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,
};
Loading