diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2020-03-10 09:31:41 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-20 09:06:22 +0100 |
| commit | fa5e1a023d47ea0a3c4e64ea4d39135a5114fe66 (patch) | |
| tree | 9a11c1a7118a446397f56098ab1302fb33267a05 /scripts/objdiff | |
| parent | 38add748d755d1160c6f5c3f72982da29b55702b (diff) | |
gfs2_atomic_open(): fix O_EXCL|O_CREAT handling on cold dcache
commit 21039132650281de06a169cbe8a0f7e5c578fd8b upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
