Commit 2c807456 authored by Eric Sandeen's avatar Eric Sandeen Committed by Stephen Lord

[XFS] Fix arg sent to XFS_SEND_DATA - vnode, not bhv

SGI Modid: 2.5.x-xfs:slinx:159068a
parent 39c2922b
......@@ -278,7 +278,7 @@ xfs_sendfile(
vrwlock_t locktype = VRWLOCK_READ;
int error;
error = XFS_SEND_DATA(mp, DM_EVENT_READ, bdp, *offset, count,
error = XFS_SEND_DATA(mp, DM_EVENT_READ, BHV_TO_VNODE(bdp), *offset, count,
FILP_DELAY_FLAG(filp), &locktype);
if (error) {
xfs_iunlock(ip, XFS_IOLOCK_SHARED);
......
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