Commit 46b40350 authored by Nathan Scott's avatar Nathan Scott

[XFS] Fix sendfile return code to be ssize_t in all places.

SGI Modid: xfs-linux:xfs-kern:172110a
parent 6ba3988a
......@@ -261,10 +261,10 @@ linvfs_sendfile(
void *target)
{
vnode_t *vp = LINVFS_GET_VP(filp->f_dentry->d_inode);
int error;
ssize_t rval;
VOP_SENDFILE(vp, filp, ppos, 0, count, actor, target, NULL, error);
return error;
VOP_SENDFILE(vp, filp, ppos, 0, count, actor, target, NULL, rval);
return rval;
}
......
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