ovl: don't fail with disconnected lower NFS
authorMiklos Szeredi <mszeredi@redhat.com>
Tue, 18 Jun 2019 13:06:16 +0000 (15:06 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 18 Jun 2019 13:06:16 +0000 (15:06 +0200)
commit9179c21dc6ed1c993caa5fe4da876a6765c26af7
tree56f958c3bc6ab1368f51e5c11f106a49efe33120
parent941d935ac7636911a3fd8fa80e758e52b0b11e20
ovl: don't fail with disconnected lower NFS

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")
fs/overlayfs/super.c