Re: [PATCH] docs: debugfs: do not recommend debugfs_remove_recursive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2025-04-29 at 19:47 +0200, Greg Kroah-Hartman wrote:
> No, the other way around, we should be telling people to use
> debugfs_remove_recursive() instead please, and getting rid of
> debugfs_remove() entirely.

Then why was 

	#define debugfs_remove_recursive debugfs_remove

added back in 2019, and why was that functionality *added* to debugfs_remove?

I recently added a patch to Nouveau that used debugfs_remove() to clean up all debugfs entries
specifically because it operates recursively.




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux