Re: [PATCH] drivers: vmw_balloon: remove dentry pointer for debugfs

From: Nadav Amit
Date: Tue Feb 16 2021 - 15:44:12 EST


> On Feb 16, 2021, at 7:12 AM, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> There is no need to keep the dentry pointer around for the created
> debugfs file, as it is only needed when removing it from the system.
> When it is to be removed, ask debugfs itself for the pointer, to save on
> storage and make things a bit simpler.
>
> Cc: Nadav Amit <namit@xxxxxxxxxx>
> Cc: "VMware, Inc." <pv-drivers@xxxxxxxxxx>
> Cc: Arnd Bergmann <arnd@xxxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> ---

Thanks for the cleanup.

Acked-by: Nadav Amit <namit@xxxxxxxxxx>