]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ovl: don't fail with disconnected lower NFS
authorMiklos Szeredi <mszeredi@redhat.com>
Tue, 18 Jun 2019 13:06:16 +0000 (15:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jun 2019 03:34:53 +0000 (11:34 +0800)
commit168835bbb0bff4c6294b7040e006251f105f7599
tree42e5dda429776785bd157fa121d12975ca8ca9d2
parent99eb836cd9a4df455ae90807bc00ee635be342f0
ovl: don't fail with disconnected lower NFS

[ Upstream commit 9179c21dc6ed1c993caa5fe4da876a6765c26af7 ]

NFS mounts can be disconnected from fs root.  Don't fail the overlapping
layer check because of this.

The check is not authoritative anyway, since topology can change during or
after the check.

Reported-by: Antti Antinoja <antti@fennosys.fi>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Fixes: 146d62e5a586 ("ovl: detect overlapping layers")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/overlayfs/super.c