summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2016-03-07 09:29:04 +1100
committerDave Chinner <david@fromorbit.com>2016-03-07 09:29:04 +1100
commitc53473be45afbbba215fda75bedbb089272e45e0 (patch)
tree0628c38bfed18968087e12117e847d70176817a7 /fs/xfs/xfs_log_recover.c
parent9deed09554f9ce17c8785533a7d6dbcf51471659 (diff)
parentbf85e0998ae8bafc1e0863d914df3be2b1bc372a (diff)
downloadlinux-c53473be45afbbba215fda75bedbb089272e45e0.tar.bz2
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.c7
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));