xfs: connect up write verifiers to new buffers
Metadata buffers that are read from disk have write verifiers already attached to them, but newly allocated buffers do not. Add appropriate write verifiers to all new metadata buffers. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Ben Myers <bpm@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
This commit is contained in:
parent
612cfbfe17
commit
b0f539de9f
24 changed files with 137 additions and 89 deletions
|
@ -749,7 +749,7 @@ xfs_bmbt_verify(
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
xfs_bmbt_write_verify(
|
||||
struct xfs_buf *bp)
|
||||
{
|
||||
|
@ -806,6 +806,7 @@ static const struct xfs_btree_ops xfs_bmbt_ops = {
|
|||
.init_ptr_from_cur = xfs_bmbt_init_ptr_from_cur,
|
||||
.key_diff = xfs_bmbt_key_diff,
|
||||
.read_verify = xfs_bmbt_read_verify,
|
||||
.write_verify = xfs_bmbt_write_verify,
|
||||
#ifdef DEBUG
|
||||
.keys_inorder = xfs_bmbt_keys_inorder,
|
||||
.recs_inorder = xfs_bmbt_recs_inorder,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue