[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6CADD16F56BC954D8E28F3836FA7ED7112A9CD50FA@shzsmsx501.ccr.corp.intel.com>
Date: Mon, 18 Jan 2010 13:26:44 +0800
From: "Wu, Fengguang" <fengguang.wu@...el.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
CC: OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>,
Andrew Morton <akpm@...ux-foundation.org>,
Al Viro <viro@...iv.linux.org.uk>,
Heiko Carstens <heiko.carstens@...ibm.com>,
Christoph Hellwig <hch@...radead.org>,
LKML <linux-kernel@...r.kernel.org>,
Eric Paris <eparis@...hat.com>, Nick Piggin <npiggin@...e.de>,
Andi Kleen <andi@...stfloor.org>,
David Howells <dhowells@...hat.com>,
Jonathan Corbet <corbet@....net>,
"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>
Subject: RE: [PATCH 6/6] vfs: introduce FMODE_NEG_OFFSET for allowing
negative f_pos
> 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?
Thanks,
Fengguang
Download attachment "mem-seek-fix" of type "application/octet-stream" (1404 bytes)
Powered by blists - more mailing lists