Files
erofs-linux/kernel
Greg Kroah-Hartman 2bb3669f57 kernel/fail_function: fix memory leak with using debugfs_lookup()
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.

Cc: Andrew Morton <[email protected]>
Reviewed-by: Yang Yingliang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2023-02-08 13:36:22 +01:00
..
2022-12-02 11:25:00 +01:00
2022-12-21 14:31:52 -08:00
…
…
…
2022-09-26 10:13:13 -07:00
…
…
…
…
…
…
…
…
2022-11-15 00:42:02 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…