Re: [Vserver] sendile() fix for 2.1.0-rc11 on 2.6.14.4

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Tue 20 Dec 2005 - 23:16:58 GMT
Message-ID: <20051220231658.GA9952@MAIL.13thfloor.at>

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

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 20 Dec 2005 - 23:17:17 GMT by hypermail 2.1.8