Messages in this thread | | | Date | Wed, 19 May 2004 13:01:05 +0200 | From | Jan Kasprzak <> | Subject | Re: sendfile -EOVERFLOW on AMD64 |
| |
Jakub Jelinek wrote: : For XFS I'd expect this: : STATIC ssize_t : linvfs_sendfile( : struct file *filp, : loff_t *ppos, : size_t count, : read_actor_t actor, : void *target) : { : vnode_t *vp = LINVFS_GET_VP(filp->f_dentry->d_inode); : int error; : : VOP_SENDFILE(vp, filp, ppos, 0, count, actor, target, NULL, error); : return error; : } : : (note error is int, not ssize_t), but I don't see anything obvious : for other filesystems. : Yes, XFS. I will look at it in the evening.
Thanks,
-Yenya
-- | Jan "Yenya" Kasprzak <kas at {fi.muni.cz - work | yenya.net - private}> | | GPG: ID 1024/D3498839 Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E | | http://www.fi.muni.cz/~kas/ Czech Linux Homepage: http://www.linux.cz/ | Any compiler or language that likes to hide things like memory allocations behind your back just isn't a good choice for a kernel. --Linus Torvalds - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |