Regression caused by commit c83ed4c9dbb3 "ubifs: Abort readdir on error"

Peter Rosin peda at axentia.se
Tue Oct 25 19:40:29 PDT 2016


Hi Richard,

On 2016-10-25 22:50, Richard Weinberger wrote:
> Peter,
> 
> On 25.10.2016 22:09, Richard Weinberger wrote:
>>> /bin/mkdir -p /mnt/ovl/ovl
>>> /bin/mkdir -p /mnt/ovl/work
>>> # with c83ed4c9dbb3, the following mount fails with
>>> # mount: mounting overlay on /mnt/merge failed: No such file or directory
>>> /bin/mount -t overlay -o lowerdir=/,upperdir=/mnt/ovl/ovl,workdir=/mnt/ovl/work overlay /mnt/merge
>>
>> Uhhhh! Thanks for catching this.
>> I think I know what is going on, the fix exposes now internal UBIFS return codes to VFS.
>> Let me prepare a fix.
> 
> Does the attached patch cure the issue?

Yup, back to normal AFAICT. Thanks for the speedy fix!

Reported-by: Peter Rosin <peda at axentia.se>
Tested-by: Peter Rosin <peda at axentia.se>

Cheers,
Peter



More information about the linux-mtd mailing list