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( ...@@ -261,10 +261,10 @@ linvfs_sendfile(
void *target) void *target)
{ {
vnode_t *vp = LINVFS_GET_VP(filp->f_dentry->d_inode); 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); VOP_SENDFILE(vp, filp, ppos, 0, count, actor, target, NULL, rval);
return error; 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