linux-stable/fs/gfs2
Al Viro 777179200c gfs2_atomic_open(): fix O_EXCL|O_CREAT handling on cold dcache
commit 2103913265 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: 6d4ade986f (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>
2020-03-18 07:14:21 +01:00
..
acl.c
acl.h
aops.c
aops.h
bmap.c gfs2: take jdata unstuff into account in do_grow 2019-12-05 09:20:36 +01:00
bmap.h
dentry.c
dir.c
dir.h
export.c
file.c gfs2: fix O_SYNC write handling 2020-02-11 04:34:07 -08:00
gfs2.h
glock.c gfs2: Fix occasional glock use-after-free 2019-05-31 06:46:07 -07:00
glock.h
glops.c
glops.h
incore.h gfs2: slow the deluge of io error messages 2019-11-24 08:20:26 +01:00
inode.c gfs2_atomic_open(): fix O_EXCL|O_CREAT handling on cold dcache 2020-03-18 07:14:21 +01:00
inode.h
Kconfig
lock_dlm.c
log.c gfs2: fix glock reference problem in gfs2_trans_remove_revoke 2019-12-17 20:35:55 +01:00
log.h gfs2: fix glock reference problem in gfs2_trans_remove_revoke 2019-12-17 20:35:55 +01:00
lops.c gfs2: fix glock reference problem in gfs2_trans_remove_revoke 2019-12-17 20:35:55 +01:00
lops.h
main.c
Makefile
meta_io.c
meta_io.h
ops_fstype.c
quota.c
quota.h
recovery.c
recovery.h
rgrp.c gfs2: Fix marking bitmaps non-full 2019-12-01 09:16:15 +01:00
rgrp.h
super.c GFS2: Flush the GFS2 delete workqueue before stopping the kernel threads 2019-11-24 08:20:48 +01:00
super.h
sys.c
sys.h
trace_gfs2.h
trans.c gfs2: fix glock reference problem in gfs2_trans_remove_revoke 2019-12-17 20:35:55 +01:00
trans.h
util.c gfs2: slow the deluge of io error messages 2019-11-24 08:20:26 +01:00
util.h
xattr.c
xattr.h