]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ocfs2: fix wake_up in unlock_ast
authorDavid Teigland <teigland@redhat.com>
Mon, 17 Nov 2008 18:28:48 +0000 (12:28 -0600)
committerMark Fasheh <mfasheh@suse.com>
Mon, 1 Dec 2008 22:46:45 +0000 (14:46 -0800)
commit07f9eebcdfaeefc8f807fa1bcce1d7c3ae6661b1
tree838ab2a397e1edb3dcfb55b54144f9fb0524cb75
parent66f502a416f18cd36179290746aa53736c6b2828
ocfs2: fix wake_up in unlock_ast

In ocfs2_unlock_ast(), call wake_up() on lockres before releasing
the spin lock on it.  As soon as the spin lock is released, the
lockres can be freed.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/dlmglue.c