aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_shared.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2016-02-09 16:41:45 +1100
committerDave Chinner <david@fromorbit.com>2016-02-09 16:41:45 +1100
commitbf85e0998ae8bafc1e0863d914df3be2b1bc372a (patch)
treea38ba4dc97b0498b2d3e0404a87fdbd4a1000d59 /fs/xfs/libxfs/xfs_shared.h
parentxfs: RT bitmap and summary buffers are not typed (diff)
downloadlinux-dev-bf85e0998ae8bafc1e0863d914df3be2b1bc372a.tar.xz
linux-dev-bf85e0998ae8bafc1e0863d914df3be2b1bc372a.zip
xfs: RT bitmap and summary buffers need verifiers
Buffers without verifiers issue runtime warnings on XFS. We don't have anything we can actually verify in the RT buffers (no CRCs, not magic numbers, etc), but we still need verifiers to avoid the warnings. Add a set of dummy verifier operations for the realtime buffers and apply them in the appropriate places. Signed-off-by: Dave Chinner <dchinner@redhat.com> Tested-by: Ross Zwisler <ross.zwisler@linux.intel.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_shared.h')
-rw-r--r--fs/xfs/libxfs/xfs_shared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_shared.h b/fs/xfs/libxfs/xfs_shared.h
index 15c3ceb845b9..81ac870834da 100644
--- a/fs/xfs/libxfs/xfs_shared.h
+++ b/fs/xfs/libxfs/xfs_shared.h
@@ -53,6 +53,7 @@ extern const struct xfs_buf_ops xfs_dquot_buf_ra_ops;
extern const struct xfs_buf_ops xfs_sb_buf_ops;
extern const struct xfs_buf_ops xfs_sb_quiet_buf_ops;
extern const struct xfs_buf_ops xfs_symlink_buf_ops;
+extern const struct xfs_buf_ops xfs_rtbuf_ops;
/*
* Transaction types. Used to distinguish types of buffers. These never reach