lkml.org 
[lkml]   [2008]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/4] debugfs: Implement debugfs_remove_recursive()
On Tue, Jul 01, 2008 at 03:14:51PM +0200, Haavard Skinnemoen wrote:
> debugfs_remove_recursive() will remove a dentry and all its children.
> Drivers can use this to zap their whole debugfs tree so that they don't
> need to keep track of every single debugfs dentry they created.
>
> It may fail to remove the whole tree in certain cases:
>
> sh-3.2# rmmod atmel-mci < /sys/kernel/debug/mmc0/ios/clock
> mmc0: card b368 removed
> atmel_mci atmel_mci.0: Lost dma0chan1, falling back to PIO
> sh-3.2# ls /sys/kernel/debug/mmc0/
> ios
>
> But I'm not sure if that case can be handled in any sane manner.
>
> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
> Cc: Greg KH <greg@kroah.com>

If this is tied to some other series that needs to go through some other
maintainer, feel free to add:
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
to the patch and let someone else take it.

Otherwise, if you need me to take it, I will be glad to do so, just let
me know what is easiest for you.

thanks,

greg k-h


\
 
 \ /
  Last update: 2008-07-01 20:43    [W:0.103 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site