Re: [RFC][PATCH][bugfix] more checks for negative f_pos handling v4

From: AmÃrico Wang
Date: Thu Sep 17 2009 - 22:25:24 EST


On Fri, Sep 18, 2009 at 8:02 AM, KAMEZAWA Hiroyuki
<kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:
> On Thu, 17 Sep 2009 20:40:39 +0800
> Wu Fengguang <fengguang.wu@xxxxxxxxx> 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...)

Yes, please do so. I would like to hear from Al..
--
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/