Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754859Ab3CVFTX (ORCPT ); Fri, 22 Mar 2013 01:19:23 -0400 Received: from mail-ve0-f174.google.com ([209.85.128.174]:43574 "EHLO mail-ve0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752534Ab3CVFTW (ORCPT ); Fri, 22 Mar 2013 01:19:22 -0400 MIME-Version: 1.0 In-Reply-To: References: <20130321221256.GA30620@redhat.com> <20130321233630.GE21522@ZenIV.linux.org.uk> <20130322001257.GH21522@ZenIV.linux.org.uk> <20130322012208.GJ21522@ZenIV.linux.org.uk> <20130322014037.GK21522@ZenIV.linux.org.uk> <20130322043715.GL21522@ZenIV.linux.org.uk> Date: Thu, 21 Mar 2013 22:19:21 -0700 X-Google-Sender-Auth: 2omByw4lgQDbJKhe1UJ8rFOg7EM Message-ID: Subject: Re: [CFT] Re: VFS deadlock ? From: Linus Torvalds To: Al Viro Cc: Dave Jones , Linux Kernel , "Eric W. Biederman" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 801 Lines: 20 On Thu, Mar 21, 2013 at 9:55 PM, Linus Torvalds wrote: > > So why not just use "new_inode_pseudo()" instead? IOW, something like > this (totally untested, natch) patch? Ok, so I think that patch is still probably the right way to go, but it's broken for a silly reason: because it's not using iget_locked() any more, it also needs to remove the now unnecessary (and actively incorrect) call to unlock_new_inode(). So remove that one line too, and maybe it could even work. Still not *tested*, though. Linus -- 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/