overlayfs: fix lockdep misannotation
authorMiklos Szeredi <miklos@szeredi.hu>
Mon, 27 Oct 2014 14:42:01 +0000 (15:42 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 28 Oct 2014 22:32:47 +0000 (18:32 -0400)
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

It's actually harmless, but needs another level of nesting between
I_MUTEX_CHILD and I_MUTEX_NORMAL.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Tested-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

No differences found