summaryrefslogtreecommitdiffstats
path: root/fs/anon_inodes.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2017-08-01 18:18:26 +0200
committerBob Peterson <rpeterso@redhat.com>2017-08-10 17:39:31 +0200
commit0515480ad424f2d6853ffe448f444ba3c756c057 (patch)
treef7a9d9d952c4cafc36e41f517086f0599b564d31 /fs/anon_inodes.c
parentgfs2: Fix trivial typos (diff)
downloadlinux-0515480ad424f2d6853ffe448f444ba3c756c057.tar.xz
linux-0515480ad424f2d6853ffe448f444ba3c756c057.zip
gfs2: gfs2_glock_get: Wait on freeing glocks
Keep glocks in their hash table until they are freed instead of removing them when their last reference is dropped. This allows to wait for any previous instances of a glock to go away in gfs2_glock_get before creating a new glocks. Special thanks to Andy Price for finding and fixing a problem which also required us to delete the rcu_read_unlock from the error case in function gfs2_glock_get. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions