Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758376Ab2FZPXo (ORCPT ); Tue, 26 Jun 2012 11:23:44 -0400 Received: from fieldses.org ([174.143.236.118]:58335 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757875Ab2FZPXn (ORCPT ); Tue, 26 Jun 2012 11:23:43 -0400 Date: Tue, 26 Jun 2012 11:23:37 -0400 From: "J. Bruce Fields" To: Filipe Brandenburger Cc: Al Viro , Matthew Wilcox , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] locks: prevent side-effects of locks_release_private before file_lock is initialized Message-ID: <20120626152336.GD14279@fieldses.org> References: <1339815965-1171-1-git-send-email-filbranden@gmail.com> <1339815965-1171-2-git-send-email-filbranden@gmail.com> <20120618200131.GA12351@fieldses.org> <20120626002908.GA14279@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 736 Lines: 21 On Mon, Jun 25, 2012 at 10:10:35PM -0400, Filipe Brandenburger wrote: > Just to let you know that I just tested the patch below on top of > 3.5.0-rc4 and it works fine... > > Do you like the idea of this second patch or do you prefer the > __locks_free_lock() one? Like I said: > Let's just go with your first patch and free the thing by hand (but > add a comment explaining why). > > Then come back and figure out how to make the interface clearer once > we've got the bug fixed. --b. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/