From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH] Implement renaming for debugfs Date: Tue, 1 May 2007 20:26:27 -0700 Message-ID: <20070502032627.GA7845@kroah.com> References: <20070430175536.GK28367@duck.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org To: Jan Kara Return-path: Received: from canuck.infradead.org ([209.217.80.40]:53395 "EHLO canuck.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2992645AbXEBDZt (ORCPT ); Tue, 1 May 2007 23:25:49 -0400 Content-Disposition: inline In-Reply-To: <20070430175536.GK28367@duck.suse.cz> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Mon, Apr 30, 2007 at 07:55:36PM +0200, Jan Kara wrote: > Hello, > > attached patch implements renaming for debugfs. I was asked for this > feature by WLAN guys and I guess it makes sence (they have some debug info > in the directory identified by interface name and that can change...). > Could someone have a look at what I wrote whether it looks reasonable? > Thanks. > > Honza > > -- > Jan Kara > SuSE CR Labs > Implement debugfs_rename() to allow renaming files/directories in debugfs. I think you are going to need more infrastructure here, the caller doesn't want to have to allocate a new dentry themselves, they just want to pass in the new filename :) thanks, greg k-h