Commit 6c39f81d authored by Nathan Scott's avatar Nathan Scott

[XFS] Set proper device for realtime files in linvfs_get_block_core

SGI Modid: 2.5.x-xfs:slinx:143006a
parent 4497e330
...@@ -899,6 +899,9 @@ linvfs_get_block_core( ...@@ -899,6 +899,9 @@ linvfs_get_block_core(
} }
} }
/* If this is a realtime file, data might be on a new device */
bh_result->b_bdev = iomap.iomap_target->pbr_bdev;
/* If we previously allocated a block out beyond eof and /* If we previously allocated a block out beyond eof and
* we are now coming back to use it then we will need to * we are now coming back to use it then we will need to
* flag it as new even if it has a disk address. * flag it as new even if it has a disk address.
......
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