diff options
| author | 2016-03-07 09:29:04 +1100 | |
|---|---|---|
| committer | 2016-03-07 09:29:04 +1100 | |
| commit | c53473be45afbbba215fda75bedbb089272e45e0 (patch) | |
| tree | 0628c38bfed18968087e12117e847d70176817a7 /fs/xfs/xfs_log_recover.c | |
| parent | Merge branch 'xfs-torn-log-fixes-4.5' into for-next (diff) | |
| parent | xfs: RT bitmap and summary buffers need verifiers (diff) | |
| download | linux-dev-c53473be45afbbba215fda75bedbb089272e45e0.tar.xz linux-dev-c53473be45afbbba215fda75bedbb089272e45e0.zip | |
Merge branch 'xfs-rt-fixes-4.6' into for-next
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
| -rw-r--r-- | fs/xfs/xfs_log_recover.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index be5568839442..2c449a25c4f6 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c @@ -2538,6 +2538,13 @@ xlog_recover_validate_buf_type( } bp->b_ops = &xfs_sb_buf_ops; break; +#ifdef CONFIG_XFS_RT + case XFS_BLFT_RTBITMAP_BUF: + case XFS_BLFT_RTSUMMARY_BUF: + /* no magic numbers for verification of RT buffers */ + bp->b_ops = &xfs_rtbuf_ops; + break; +#endif /* CONFIG_XFS_RT */ default: xfs_warn(mp, "Unknown buffer type %d!", xfs_blft_from_flags(buf_f)); |
