]> git.baikalelectronics.ru Git - kernel.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)
commitdd8b092b9639795ead6a962c53e77b81387dd953
tree838ab2a397e1edb3dcfb55b54144f9fb0524cb75
parent34e9ea38cf3989bb12793c4abdfbf3b70d25b772
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