From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (Postfix) with ESMTP id 3AC137F37 for ; Tue, 16 Jul 2013 01:16:13 -0500 (CDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by relay1.corp.sgi.com (Postfix) with ESMTP id 096FF8F8033 for ; Mon, 15 Jul 2013 23:16:09 -0700 (PDT) Date: Tue, 16 Jul 2013 07:16:02 +0100 From: Al Viro 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-Disposition: inline In-Reply-To: <20130716060351.GE11674@dastard> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Dave Chinner Cc: Peter Zijlstra , Linux Kernel , Oleg Nesterov , Ben Myers , Dave Jones , xfs@oss.sgi.com, Linus Torvalds 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... _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs