From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ve1eur03on072e.outbound.protection.outlook.com ([2a01:111:f400:fe09::72e] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bzEAr-0001Sz-5T for linux-mtd@lists.infradead.org; Wed, 26 Oct 2016 02:44:45 +0000 Message-ID: <5810179D.90104@axentia.se> Date: Wed, 26 Oct 2016 04:40:29 +0200 From: Peter Rosin MIME-Version: 1.0 To: Richard Weinberger , , Subject: Re: Regression caused by commit c83ed4c9dbb3 "ubifs: Abort readdir on error" References: <2e3cf9f7-d747-7129-455f-a1105f5474de@nod.at> In-Reply-To: <2e3cf9f7-d747-7129-455f-a1105f5474de@nod.at> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Tested-by: Peter Rosin Cheers, Peter