Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755357AbYAGJRh (ORCPT ); Mon, 7 Jan 2008 04:17:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753789AbYAGJR3 (ORCPT ); Mon, 7 Jan 2008 04:17:29 -0500 Received: from wa-out-1112.google.com ([209.85.146.182]:30722 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753089AbYAGJR2 (ORCPT ); Mon, 7 Jan 2008 04:17:28 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=O5zS2NAx9qZbzr3DXbZJv7zt5a5gucsOTMTW68nnG+eXEFqLn2VG3erXI2Wv15/ACMaAumgS5qDQBIYl0+eBMkq9GG6mmc9P32uTwM+pxO/CtdhWkhgv+BQ3LAzgpw6JtyEsL+ZFbDxq8GPuYQ05PJoMHhusMr7IFdkhWfGG0Y8= Message-ID: <4781EE20.6070701@gmail.com> Date: Mon, 07 Jan 2008 18:17:20 +0900 From: Tejun Heo User-Agent: Thunderbird 2.0.0.6 (X11/20070801) MIME-Version: 1.0 To: "Eric W. Biederman" CC: Al Viro , Gabor Gombas , Dave Young , linux-kernel@vger.kernel.org, bluez-devel@lists.sourceforge.net, Greg KH Subject: Re: [Bluez-devel] Oops involving RFCOMM and sysfs References: <20071228173203.GA20690@boogie.lpds.sztaki.hu> <20080102151642.GA7273@boogie.lpds.sztaki.hu> <20080105075039.GF27894@ZenIV.linux.org.uk> <477F9481.2040505@gmail.com> <20080105194510.GK27894@ZenIV.linux.org.uk> <478037F8.8020103@gmail.com> <47819079.3000606@gmail.com> In-Reply-To: X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 793 Lines: 19 Eric W. Biederman wrote: >> That said, the mechanism is a bit too fragile. sysfs currently ensures >> that dentry/inode point to the associated sysfs_dirent. This is mainly >> remanent of conversion from previous VFS based implementation. I think >> the right thing to do here is to make sysfs behave like other proper >> distributed filesystems using d_revalidate. > > Huh? We still need something like sysfs_get_dentry to find the dentries > for the rename or move operation. So we can call d_move. Ah... right. Thanks. :-) -- tejun -- 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/