output file cannot be in the UBIFS root directory check is not working quite well

kyak bas at bmail.ru
Wed Oct 10 10:55:56 EDT 2012


Thanks Artem, your patch 
(http://lists.infradead.org/pipermail/linux-mtd/2012-October/044477.html) 
has fixed my problem as well.

On Mon, 8 Oct 2012, kyak wrote:

> On Mon, 8 Oct 2012, Ricard Wanderlof wrote:
>
>> Definitely. I see your point now. This must be a definite bug in in_path().
>> 
>> One problem though is that when in_path() traverses the tree upwards, and 
>> encounters a directory which it can't read it can't complete its job. On 
>> the other hand, it shouldn't have to do that, it really only needs to see 
>> that the output file is not below the top level of the input tree. Or am I 
>> missing a case here?
>> 
> Yes, it only needs to check if the output file is above the top level
> of the input tree. But I guess it's not that easy - first things that come 
> into my mind are symbolic links and mount --bind.
>



More information about the linux-mtd mailing list