summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
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/xfs_log_recover.c
parentf67ca6eca89cddd355c83639a90109e245f9d5a7 (diff)
downloadtalos-obmc-linux-bf85e0998ae8bafc1e0863d914df3be2b1bc372a.tar.gz
talos-obmc-linux-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/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index afdd326df923..ed8c88917300 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -2476,8 +2476,8 @@ xlog_recover_validate_buf_type(
#ifdef CONFIG_XFS_RT
case XFS_BLFT_RTBITMAP_BUF:
case XFS_BLFT_RTSUMMARY_BUF:
- /* no verification of RT buffers is done */
- bp->b_ops = NULL;
+ /* no magic numbers for verification of RT buffers */
+ bp->b_ops = &xfs_rtbuf_ops;
break;
#endif /* CONFIG_XFS_RT */
default:
OpenPOWER on IntegriCloud