Re: sendfile -EOVERFLOW on AMD64

From: Jan Kasprzak
Date: Wed May 19 2004 - 14:50:19 EST


Jakub Jelinek wrote:
: 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, this fixed the problem - now I can sendfile() the whole
DVD image without problem. Thanks, and send both these fixes to Linus.

-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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/