Revert "vfs: fix freeze protection in mnt_want_write_file() for overlayfs"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Oct 2018 12:22:54 +0000 (14:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Oct 2018 07:47:09 +0000 (09:47 +0200)
commit94d2da5ba1dd55c246757e58b7e74bbe45a5cc0a
tree4dbec745b44e18239caa1ff05c8b902fc59b3eee
parent7fde798123ef4b4b3e9a3ba9c4a201ad764d77e9
Revert "vfs: fix freeze protection in mnt_want_write_file() for overlayfs"

This reverts commit 5e1002ab5c9bde81a0c1eed12f243987e98f7bd0 which was
commit a6795a585929d94ca3e931bc8518f8deb8bbe627 upstream.

Turns out this causes problems and was to fix a patch only in the 4.19
and newer tree.

Reported-by: Amir Goldstein <amir73il@gmail.com>
Cc: Miklos Szeredi <mszeredi@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/namespace.c