GFS2: Fix recovery stuck bug (try #2)
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 2 Aug 2010 09:15:17 +0000 (10:15 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 2 Aug 2010 09:15:17 +0000 (10:15 +0100)
commit0809f6ec18bbce54c996f5c36f4b9d371075c98b
tree66aa0c523f0e7ab5b35504123b5238e5f81ea309
parentc639d5d8f69f37e24ed0354373f61fcbde4b9354
GFS2: Fix recovery stuck bug (try #2)

This is a clean up of the code which deals with LM_FLAG_NOEXP
which aims to remove any possible race conditions by using
gl_spin to cover the gap between testing for the LM_FLAG_NOEXP
and the GL_FROZEN flag.

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