From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [git pull] vfs and fs fixes Date: Tue, 17 Apr 2012 18:59:55 +0100 Message-ID: <20120417175954.GV6589@ZenIV.linux.org.uk> References: <20120417052511.GU6589@ZenIV.linux.org.uk> <20120417162216.GB27426@fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "J. Bruce Fields" , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Linus Torvalds Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, Apr 17, 2012 at 09:33:06AM -0700, Linus Torvalds wrote: > On Tue, Apr 17, 2012 at 9:22 AM, J. Bruce Fields wrote: > In fact I don't think you need even that much. Just a simple > > touch a > ln a b > mv a b > > looks like it should deadlock on itself, no? source and dest inodes > will be the same, so the mutex_lock() will just deadlock without even > any ABBA race. No, this one will bail out much earlier.