From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24685 invoked by alias); 18 Sep 2006 17:00:24 -0000 Received: (qmail 24665 invoked by uid 9453); 18 Sep 2006 17:00:23 -0000 Date: Mon, 18 Sep 2006 17:00:00 -0000 Message-ID: <20060918170023.24664.qmail@sourceware.org> From: teigland@sourceware.org To: cluster-cvs@sources.redhat.com Subject: cluster/dlm-kernel/src lkb.c Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2006-q3/txt/msg00636.txt.bz2 List-Id: CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL4U4 Changes by: teigland@sourceware.org 2006-09-18 17:00:23 Modified files: dlm-kernel/src : lkb.c Log message: Don't create lkids of 0. When the lkid counter for bucket 0 of the hash table rolls over (it's uint16), we'd get a lkid of zero and assign it to the new lkb. lock_dlm would be confused by a zero lkid and use some other, incorrect value as the lkid which would lead to a dlm error which would lead to a lock_dlm/gfs panic. this should fix bz 199673 it may also fix bz 172944 Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm-kernel/src/lkb.c.diff?cvsroot=cluster&only_with_tag=RHEL4U4&r1=1.3.2.1&r2=1.3.2.1.12.1