From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Allison Subject: Re: posix_lock_deadlocks() hang Date: Tue, 14 Sep 2004 12:30:34 -0700 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20040914193034.GF16151@jeremy1> References: <7A8F92187EF7A249BF847F1BF4903C040AFBF3@ausx2kmpc103.aus.amer.dell.com> <20040914192814.GE16151@jeremy1> Reply-To: Jeremy Allison Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Stuart_Hayes@Dell.com, michael@wil.cx, linux-fsdevel@vger.kernel.org Return-path: Received: from dp.samba.org ([66.70.73.150]:51152 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id S269704AbUINTaj (ORCPT ); Tue, 14 Sep 2004 15:30:39 -0400 To: Jeremy Allison Content-Disposition: inline In-Reply-To: <20040914192814.GE16151@jeremy1> List-Id: linux-fsdevel.vger.kernel.org On Tue, Sep 14, 2004 at 12:28:14PM -0700, Jeremy Allison wrote: > > Yes, that's only if #if HAVE_KERNEL_SHARE_MODES is defined, > which is not turned on by default. That's only done if someone > sets it by hand (it's not autoconf tested). It's also not a > standard flock (to lock files) but a request for a share mode > in the kernel. > > Did you turn this on ? Arrrgggh. Scratch that - turns out it *was* autoconf'ed in, and also that code is called by default if the kernel share modes are detected. That shouldn't be the case (IMHO). I'll look into when it changed and fix it. Thanks, my error not yours. Jeremy.