GFS2: Fix race between lru_list and glock ref count
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 16 Jan 2012 15:46:21 +0000 (15:46 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 28 Feb 2012 09:43:07 +0000 (09:43 +0000)
commit4043b886b0740ded65f633fc4b7225d624c7e658
tree532dc280a44a051b6a93d23702f8b847b07e5ff6
parent586c6e7013c8cbb8c91aaa6568ec349b1dc2c691
GFS2: Fix race between lru_list and glock ref count

This patch fixes a narrow race window between the glock ref count
hitting zero and glocks being removed from the lru_list.

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