From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932086AbVILREL (ORCPT ); Mon, 12 Sep 2005 13:04:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932101AbVILREL (ORCPT ); Mon, 12 Sep 2005 13:04:11 -0400 Received: from main.gmane.org ([80.91.229.2]:60893 "EHLO ciao.gmane.org") by vger.kernel.org with ESMTP id S932100AbVILREK (ORCPT ); Mon, 12 Sep 2005 13:04:10 -0400 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: Antonio Amorim Subject: Re: [PATCH] 2.6.13 =?utf-8?b?ZmxvY2tzX3JlbW92ZV9mbG9jaw==?= hits BUG(); Date: Mon, 12 Sep 2005 16:40:01 +0000 (UTC) Message-ID: References: <20050902145049.9E6E633CDA@rekin5.o2.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 194.117.43.13 (Mozilla/5.0 (compatible; Konqueror/3.3; Linux 2.6.11; X11) KHTML/3.3.2 (like Gecko)) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Jakub W. Jozwicki writes: > > Because of incomplete conditional flocks_remove_flock runs into > BUG() which is below 'ifs'. This was visible with using unionfs. > > --- locks.c 2005-09-02 16:38:40.770509784 +0200 > +++ locks-fixed.c 2005-09-02 16:37:22.000000000 +0200 > -1908,7 +1908,7 > > while ((fl = *before) != NULL) { > if (fl->fl_file == filp) { > - if (IS_FLOCK(fl)) { > + if (IS_FLOCK(fl) || IS_POSIX(fl)) { > locks_delete_lock(before); > continue; > } > What was the UNIONFS version that you were able to compile with the 2.6.13 kernel. Did it work ok after applying the patrch? All the best, Antonio Amorim