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)
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>

No differences found