diff options
| author | 2018-01-08 10:51:08 -0800 | |
|---|---|---|
| committer | 2018-01-08 10:54:47 -0800 | |
| commit | b55725974c9d3a5afcdf83daff6fba7d3f91ffca (patch) | |
| tree | 6d1d7fb37a1a9076713111c95a3491b0634490d5 /fs/xfs/libxfs/xfs_ialloc_btree.c | |
| parent | xfs: fail out of xfs_attr3_leaf_lookup_int if it looks corrupt (diff) | |
| download | linux-rng-b55725974c9d3a5afcdf83daff6fba7d3f91ffca.tar.xz linux-rng-b55725974c9d3a5afcdf83daff6fba7d3f91ffca.zip | |
xfs: create a new buf_ops pointer to verify structure metadata
Expose all metadata structure buffer verifier functions via buf_ops.
These will be used by the online scrub mechanism to look for problems
with buffers that are already sitting around in memory.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc_btree.c')
| -rw-r--r-- | fs/xfs/libxfs/xfs_ialloc_btree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_ialloc_btree.c b/fs/xfs/libxfs/xfs_ialloc_btree.c index 9c691ad00220..47f44d624cb1 100644 --- a/fs/xfs/libxfs/xfs_ialloc_btree.c +++ b/fs/xfs/libxfs/xfs_ialloc_btree.c @@ -329,6 +329,7 @@ const struct xfs_buf_ops xfs_inobt_buf_ops = { .name = "xfs_inobt", .verify_read = xfs_inobt_read_verify, .verify_write = xfs_inobt_write_verify, + .verify_struct = xfs_inobt_verify, }; STATIC int |
