commit | 3554e8994e61e3671bfc692bf9a921e65f5fe5db | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Fri Jul 06 23:57:06 2018 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jul 17 22:38:43 2018 -0400 |
tree | b1195e086a3e9b0ac4c377f2a840dd1603ab1193 | |
parent | 96cdbeeda0a2219f55a9dfa94153203161ccd793 [diff] |
vfs: don't open real Let overlayfs do its thing when opening a file. This enables stacking and fixes the corner case when a file is opened for read, modified through a writable open, and data is read from the read-only file. After this patch the read-only open will not return stale data even in this case. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>