* [git patch] ocfs2 fix for 2.6.26
@ 2008-07-09 4:17 Mark Fasheh
0 siblings, 0 replies; only message in thread
From: Mark Fasheh @ 2008-07-09 4:17 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel, ocfs2-devel, Joel Becker, Andrew Morton
This single patch fixes an Ocfs2 regression introduced during the merge
window.
--Mark
Please pull from 'upstream-linus' branch of
git://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()
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c
index efc015c..44f87ca 100644
--- a/fs/ocfs2/dlm/dlmmaster.c
+++ b/fs/ocfs2/dlm/dlmmaster.c
@@ -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));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-09 4:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-09 4:17 [git patch] ocfs2 fix for 2.6.26 Mark Fasheh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®