Messages in this thread | | | From | Jens Axboe <> | Subject | Re: [PATCH] trace/blktrace: fix memory leak with using debugfs_lookup() | Date | Mon, 06 Feb 2023 09:29:44 -0700 |
| |
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
| |