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

Richard Weinberger richard at nod.at
Tue Oct 25 13:50:17 PDT 2016


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?

Thanks,
//richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ubifs_readdir_fix_fix.diff
Type: text/x-patch
Size: 596 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20161025/53be1357/attachment.bin>


More information about the linux-mtd mailing list