Commit 13c554e6 authored by Nathan Scott's avatar Nathan Scott Committed by Christoph Hellwig

[XFS] Fix size check for realtime devices.

SGI Modid: 2.5.x-xfs:slinx:135199a
parent 33db8e67
......@@ -2287,7 +2287,7 @@ xfs_rtmount_init(
return XFS_ERROR(E2BIG);
}
error = xfs_read_buf(mp, mp->m_rtdev_targp,
XFS_FSB_TO_BB(mp, d - 1),
d - XFS_FSB_TO_BB(mp, 1),
XFS_FSB_TO_BB(mp, 1), 0, &bp);
if (error) {
cmn_err(CE_WARN,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment