Re: [PATCH] trace/blktrace: fix memory leak with using debugfs_lookup()

From: Jens Axboe
Date: Mon Feb 06 2023 - 11:29:56 EST



On Thu, 02 Feb 2023 15:19:56 +0100, Greg Kroah-Hartman wrote:
> When calling debugfs_lookup() the result must have dput() called on it,
> otherwise the memory will leak over time. To make things simpler, just
> call debugfs_lookup_and_remove() instead which handles all of the logic
> at once.
>
>

Applied, thanks!

[1/1] trace/blktrace: fix memory leak with using debugfs_lookup()
commit: 83e8864fee26f63a7435e941b7c36a20fd6fe93e

Best regards,
--
Jens Axboe