[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090918090200.a1810a9b.kamezawa.hiroyu@jp.fujitsu.com>
Date: Fri, 18 Sep 2009 09:02:00 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: Wu Fengguang <fengguang.wu@...el.com>
Cc: "viro@...iv.linux.org.uk" <viro@...iv.linux.org.uk>,
Andrew Morton <akpm@...ux-foundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"hugh.dickins@...cali.co.uk" <hugh.dickins@...cali.co.uk>,
"oleg@...hat.com" <oleg@...hat.com>,
"xiyou.wangcong@...il.com" <xiyou.wangcong@...il.com>
Subject: Re: [RFC][PATCH][bugfix] more checks for negative f_pos handling v4
On Thu, 17 Sep 2009 20:40:39 +0800
Wu Fengguang <fengguang.wu@...el.com> wrote:
> > > if (pos + count < pos)
> > > return -EOVERFLOW;
> > > ...
> > > }
> > >
> > have to avoid pos == LONGLONGMAX case.
>
> Ah sorry, didn't know loff_t could be long long..
>
Thank you. I'll restart this after merge window.
(And maybe I had to CC fsdevel...)
Thanks,
-Kame
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists