ovl: remove WARN_ON() real inode attributes mismatch
authorAmir Goldstein <amir73il@gmail.com>
Tue, 15 May 2018 08:57:28 +0000 (11:57 +0300)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 31 May 2018 09:06:10 +0000 (11:06 +0200)
commita8b9e0ceed3214d0b9da211f39004931ec1d2a1b
tree79ed16fbd3038434a43061a211e72abab53a5c38
parent4280f74a577dfbfac83e9ab38e7113ea3102a2eb
ovl: remove WARN_ON() real inode attributes mismatch

Overlayfs should cope with online changes to underlying layer
without crashing the kernel, which is what xfstest overlay/019
checks.

This test may sometimes trigger WARN_ON() in ovl_create_or_link()
when linking an overlay inode that has been changed on underlying
layer.

Remove those WARN_ON() to prevent the stress test from failing.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/dir.c