ocfs2 fix for 2.6.26
PATCH 1/1 ocfs2 fix for 2.6.26
This single patch fixes an Ocfs2 regression introduced during the merge window.
--Mark
Please pull from 'upstream-linus' branch ofgit://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2.git upstream-linus
to receive the following updates:
fs/ocfs2/dlm/dlmmaster.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
Sunil Mushran (1):
ocfs2/dlm: Fixes oops in dlm_new_lockres()
fs/ocfs2/dlm/dlmmaster.c +2 -0
@@ -606,7 +606,9 @@ static void dlm_init_lockres(struct dlm_ctxt *dlm, res->last_used =0 ; +spin_lock (&dlm->spinlock);list_add_tail (&res->tracking, &dlm->tracking_list); +spin_unlock (&dlm->spinlock);memset (res->lvb,0 ,DLM_LVB_LEN );memset (res->refmap,0 ,sizeof (res->refmap));