From: Greg KH <greg@kroah.com>
To: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Cc: Pierre Ossman <drzeus-list@drzeus.cx>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/4] debugfs: Implement debugfs_remove_recursive()
Date: Tue, 1 Jul 2008 11:37:33 -0700 [thread overview]
Message-ID: <20080701183733.GB4879@kroah.com> (raw)
In-Reply-To: <1214918094-26758-1-git-send-email-haavard.skinnemoen@atmel.com>
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
next prev parent reply other threads:[~2008-07-01 18:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-30 16:35 [PATCH v5] Atmel MCI: Driver for Atmel on-chip MMC controllers Haavard Skinnemoen
2008-07-01 13:14 ` [PATCH v2 1/4] debugfs: Implement debugfs_remove_recursive() Haavard Skinnemoen
2008-07-01 13:14 ` [PATCH v2 2/4] mmc: Export internal host state through debugfs Haavard Skinnemoen
2008-07-01 13:14 ` [PATCH v2 3/4] mmc: Add per-card debugfs support Haavard Skinnemoen
2008-07-01 13:14 ` [PATCH v2 4/4] atmel-mci: " Haavard Skinnemoen
2008-07-04 17:45 ` [PATCH v2 2/4] mmc: Export internal host state through debugfs Pierre Ossman
2008-07-05 13:44 ` Haavard Skinnemoen
2008-07-10 8:33 ` Pierre Ossman
2008-07-10 11:17 ` Haavard Skinnemoen
2008-07-01 18:37 ` Greg KH [this message]
2008-07-01 19:12 ` [PATCH v2 1/4] debugfs: Implement debugfs_remove_recursive() Haavard Skinnemoen
2008-07-02 12:48 ` [PATCH v5] Atmel MCI: Driver for Atmel on-chip MMC controllers Haavard Skinnemoen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080701183733.GB4879@kroah.com \
--to=greg@kroah.com \
--cc=drzeus-list@drzeus.cx \
--cc=haavard.skinnemoen@atmel.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox