lkml.org 
[lkml]   [2023]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] trace/blktrace: fix memory leak with using debugfs_lookup()
Date

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



\
 
 \ /
  Last update: 2023-03-27 00:11    [W:0.040 / U:1.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site