Revert "vfs: do get_write_access() on upper layer of overlayfs"
commit8cf9ee5061037accf61775f438ad7513576d4413
authorMiklos Szeredi <mszeredi@redhat.com>
Wed, 18 Jul 2018 13:44:43 +0000 (18 15:44 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 18 Jul 2018 13:44:43 +0000 (18 15:44 +0200)
tree6301abb5e6b1386103ea6c0dff437afd5f6ae6a8
parent4ab30319fd7c691a1b3165325c647a5cd6d282ac
Revert "vfs: do get_write_access() on upper layer of overlayfs"

This reverts commit 4d0c5ba2ff79ef9f5188998b29fd28fcb05f3667.

We now get write access on both overlay and underlying layers so this patch
is no longer needed for correct operation.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/locks.c
fs/open.c