[GFS2] Fix a bug: scheduling under a spinlock
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 20 Apr 2006 20:57:23 +0000 (16:57 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 20 Apr 2006 20:57:23 +0000 (16:57 -0400)
commit190562bd84a484bf6590425aa2bb4d6d611c112b
treedd99bcd847f8d2376f7836ea9d861a31d1021c71
parentfe1bdedc6c16adedc6fd3636185ea91596b1d6eb
[GFS2] Fix a bug: scheduling under a spinlock

At some stage, a mutex was added to gfs2_glock_put() without
checking all its call sites. Two of them were called from
under a spinlock causing random delays at various points and
crashes.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
fs/gfs2/glock.h
fs/gfs2/inode.c
fs/gfs2/log.c
fs/gfs2/meta_io.c