diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2018-07-06 23:57:06 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-07-18 15:44:42 +0200 |
commit | a6518f73e60e5044656d1ba587e7463479a9381a (patch) | |
tree | b7105c1ee7e5abffba3d450d2df6c157f806d1aa /net/ncsi/ncsi-cmd.c | |
parent | 8ede205541ff05bd096749a9f00bde6d754b4e22 (diff) | |
download | linux-a6518f73e60e5044656d1ba587e7463479a9381a.tar.bz2 |
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>
Diffstat (limited to 'net/ncsi/ncsi-cmd.c')
0 files changed, 0 insertions, 0 deletions