xfs: connect up write verifiers to new buffers
[linux-2.6-block.git] / fs / xfs / xfs_btree.c
index ef1066078c336305c7909071128f78c3e4cbef5e..1e2d89eed2a46b8b65713df181ee3721027d9d3a 100644 (file)
@@ -996,6 +996,7 @@ xfs_btree_get_buf_block(
        if (!*bpp)
                return ENOMEM;
 
+       (*bpp)->b_pre_io = cur->bc_ops->write_verify;
        *block = XFS_BUF_TO_BLOCK(*bpp);
        return 0;
 }