On Wed, Dec 21, 2005 at 12:07:09AM +0100, Pallai Roland wrote:
>
> Hi,
>
> vserver-2.1.0-rc11 has broken sendfile on 2.6.14.4 due to a pointless
> check in do_sendfile(). here's the fix:
ah, thanks, obviously missed that one again ...
best,
Herbert
> --- linux/fs/read_write.c~ 2005-12-20 23:43:22.000000000 +0100
> +++ linux/fs/read_write.c 2005-12-20 23:47:22.000000000 +0100
> @@ -776,9 +776,6 @@
> current->syscr++;
> current->syscw++;
>
> - if (*ppos > max)
> - retval = -EOVERFLOW;
> -
> fput_out:
> fput_light(out_file, fput_needed_out);
> fput_in:
>
>
>
> --
> dap
>
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Dec 20 23:17:16 2005