Re: [PATCH] EDAC: Use edac_debugfs_remove_recursive() in edac_debugfs_exit()

From: Borislav Petkov
Date: Wed Feb 10 2016 - 05:03:07 EST


On Tue, Feb 09, 2016 at 06:29:25PM -0600, tthayer@xxxxxxxxxxxxxxxxxxxxx wrote:
> From: Thor Thayer <tthayer@xxxxxxxxxxxxxxxxxxxxx>
>
> debugfs_remove() is used to remove a file or a directory from the
> debugfs filesystem on an EDAC device exit. However edac_debugfs
> might not be empty. This is similar to another patch [1] that
> changed the EDAC MCI code to use edac_debugfs_remove_recursive().
>
> [1] https://lkml.org/lkml/2015/10/13/974
>
> Suggested-by: Borislav Petkov <bp@xxxxxxxxx>
> Signed-off-by: Thor Thayer <tthayer@xxxxxxxxxxxxxxxxxxxxx>

Applied, thanks.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.