Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752026Ab3GPGQI (ORCPT ); Tue, 16 Jul 2013 02:16:08 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:47241 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751791Ab3GPGQG (ORCPT ); Tue, 16 Jul 2013 02:16:06 -0400 Date: Tue, 16 Jul 2013 07:16:02 +0100 From: Al Viro To: Dave Chinner Cc: Linus Torvalds , Dave Jones , Linux Kernel , Peter Zijlstra , Oleg Nesterov , Ben Myers , xfs@oss.sgi.com Subject: Re: splice vs execve lockdep trace. Message-ID: <20130716061601.GM4165@ZenIV.linux.org.uk> References: <20130716015305.GB30569@redhat.com> <20130716023847.GA31481@redhat.com> <20130716060351.GE11674@dastard> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130716060351.GE11674@dastard> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 704 Lines: 18 On Tue, Jul 16, 2013 at 04:03:51PM +1000, Dave Chinner wrote: > I posted patches to fix this i_mutex/i_iolock inversion a couple of > years ago (july 2011): > > https://lkml.org/lkml/2011/7/18/4 > > And V2 was posted here and reviewed (aug 2011): > > http://xfs.9218.n7.nabble.com/PATCH-0-2-splice-i-mutex-vs-splice-write-deadlock-V2-tt4072.html#none Unless I'm misreading the patch, you end up doing file_remove_suid() without holding i_mutex at all... -- 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/