diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-03-10 09:31:41 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-03-12 18:21:24 -0400 |
commit | 21039132650281de06a169cbe8a0f7e5c578fd8b (patch) | |
tree | 1fa580f96dc21e1e470f3c697ec07077bd9ee8cb /fs/open.c | |
parent | bf4498ad3f9a0f7202cf90e52b5ce9bb31700b91 (diff) |
gfs2_atomic_open(): fix O_EXCL|O_CREAT handling on cold dcache
with the way fs/namei.c:do_last() had been done, ->atomic_open()
instances needed to recognize the case when existing file got
found with O_EXCL|O_CREAT, either by falling back to finish_no_open()
or failing themselves. gfs2 one didn't.
Fixes: 6d4ade986f9c (GFS2: Add atomic_open support)
Cc: stable@kernel.org # v3.11
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions