gfs2: Protect gl->gl_object by spin lock
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 30 Jun 2017 12:55:08 +0000 (07:55 -0500)
committerBob Peterson <rpeterso@redhat.com>
Wed, 5 Jul 2017 12:20:52 +0000 (07:20 -0500)
commit6f6597baae206c544c49ad7f1129d5adc1e9019d
tree3bcfcb1ebf6713cdd95f4146012c236e3d6f5fbf
parent4fd1a5795214bc6405f14691c1344ae8c3f17215
gfs2: Protect gl->gl_object by spin lock

Put all remaining accesses to gl->gl_object under the
gl->gl_lockref.lock spinlock to prevent races.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/bmap.c
fs/gfs2/dir.c
fs/gfs2/glops.c
fs/gfs2/incore.h
fs/gfs2/inode.c
fs/gfs2/lops.c
fs/gfs2/rgrp.c
fs/gfs2/super.c
fs/gfs2/xattr.c