Re: [PATCH 6/6] vfs: introduce FMODE_NEG_OFFSET for allowingnegative f_pos

From: KAMEZAWA Hiroyuki
Date: Mon Jan 18 2010 - 19:41:02 EST


On Mon, 18 Jan 2010 13:26:44 +0800
"Wu, Fengguang" <fengguang.wu@xxxxxxxxx> wrote:

>
> > On error, the kernel returns -EOVERFLOW (via %eax) and libc hides
> > it by
> > errno = EOVERFLOW
> > ret = -1
>
> Ah got it. How about the attached patch?
>

Seems good to me. Thank you very much.

Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

--
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/