From: David Howells Subject: Re: Locking problem in overlayfs Date: Mon, 27 Oct 2014 14:39:21 +0000 Message-ID: <6032.1414420761@warthog.procyon.org.uk> References: <20141027141935.GC3021@tucsk.piliscsaba.szeredi.hu> <5394.1414418718@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Cc: dhowells@redhat.com, Al Viro , Linus Torvalds , Linux-Fsdevel , Kernel Mailing List , linux-unionfs@vger.kernel.org To: Miklos Szeredi Return-path: In-Reply-To: <20141027141935.GC3021@tucsk.piliscsaba.szeredi.hu> Content-ID: <6031.1414420761.1@warthog.procyon.org.uk> Sender: linux-unionfs-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Miklos Szeredi wrote: > Uh-oh. We changed nesting late in the cycle and I didn't retest with lockdep. > > And it's actually harmless, but AFAICS needs another level of nesting between > I_MUTEX_CHILD and I_MUTEX_NORMAL. In an overlay directory that shadows an empty lower directory, say /mnt/a/empty102, do: touch /mnt/a/empty102/x unlink /mnt/a/empty102/x rmdir /mnt/a/empty102 David