linux/fs/gfs2
Andreas Gruenbacher 49388448ed gfs2: Grab glock reference sooner in gfs2_add_revoke
[ Upstream commit f4e2f5e1a5 ]

This patch rearranges gfs2_add_revoke so that the extra glock
reference is added earlier on in the function to avoid races in which
the glock is freed before the new reference is taken.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-03 08:21:10 +02:00
..
Kconfig
Makefile
acl.c
acl.h
aops.c
aops.h
bmap.c gfs2: Another gfs2_walk_metadata fix 2020-05-20 08:20:17 +02:00
bmap.h
dentry.c
dir.c
dir.h
export.c
file.c gfs2: fix O_SYNC write handling 2020-02-11 04:35:35 -08:00
gfs2.h
glock.c Revert "gfs2: Don't demote a glock until its revokes are written" 2020-05-27 17:46:44 +02:00
glock.h
glops.c gfs2: Do log_flush in gfs2_ail_empty_gl even if ail list is empty 2020-04-17 10:50:03 +02:00
glops.h
incore.h
inode.c gfs2_atomic_open(): fix O_EXCL|O_CREAT handling on cold dcache 2020-03-18 07:17:51 +01:00
inode.h
lock_dlm.c
log.c gfs2: Grab glock reference sooner in gfs2_add_revoke 2020-06-03 08:21:10 +02:00
log.h gfs2: Do log_flush in gfs2_ail_empty_gl even if ail list is empty 2020-04-17 10:50:03 +02:00
lops.c gfs2: More gfs2_find_jhead fixes 2020-05-20 08:20:22 +02:00
lops.h
main.c
meta_io.c
meta_io.h
ops_fstype.c
quota.c gfs2: move privileged user check to gfs2_quota_lock_check 2020-06-03 08:21:09 +02:00
quota.h gfs2: move privileged user check to gfs2_quota_lock_check 2020-06-03 08:21:09 +02:00
recovery.c
recovery.h
rgrp.c
rgrp.h
super.c
super.h
sys.c
sys.h
trace_gfs2.h
trans.c
trans.h
util.c
util.h
xattr.c
xattr.h