ocfs2/dlm: Use ast_lock to protect ast_list
authorSunil Mushran <sunil.mushran@oracle.com>
Tue, 3 Feb 2009 20:37:15 +0000 (12:37 -0800)
committerMark Fasheh <mfasheh@suse.com>
Thu, 26 Feb 2009 19:51:09 +0000 (11:51 -0800)
commitdabc47de7a23f57522dc762d9d2ad875700d3497
tree02d3bca6eaa20975512693a4fcce988dd7df4855
parentc74ff8bb2235d848beb67fcfddae71ecbe3f92b1
ocfs2/dlm: Use ast_lock to protect ast_list

The code was using dlm->spinlock instead of dlm->ast_lock to protect the
ast_list. This patch fixes the issue.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Acked-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/dlm/dlmunlock.c