Greg Kroah-Hartman 209cdbd07c misc: vmw_balloon: 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: Nadav Amit <namit@vmware.com>
Cc: VMware PV-Drivers Reviewers <pv-drivers@vmware.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230202141100.2291188-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-08 13:24:22 +01:00
..
2022-12-13 15:22:14 -08:00
2023-02-03 11:35:42 -08:00
2023-02-06 08:35:30 +01:00
2023-01-22 08:37:23 +01:00
2022-12-19 07:13:33 -06:00
2023-02-06 08:35:30 +01:00
2023-02-06 08:35:30 +01:00
2023-01-27 14:05:38 +01:00
2023-02-03 10:09:55 -08:00
2023-01-18 14:44:32 -08:00
2022-12-11 21:25:58 +01:00
2023-02-06 08:35:30 +01:00
2023-01-29 11:06:47 -08:00
2023-02-06 19:00:54 +01:00
2023-01-27 16:09:12 -08:00
2023-01-27 10:47:11 +00:00
2023-02-03 11:35:42 -08:00
2023-02-06 19:07:00 +01:00
2023-01-13 17:32:22 -06:00
2022-12-13 15:47:48 -08:00
2022-12-21 09:41:28 -08:00
2023-01-06 13:12:42 -08:00
2023-01-31 11:39:08 -08:00
2023-01-10 23:09:09 +01:00
2022-12-19 08:47:33 -06:00
2022-12-12 10:17:08 -08:00
2023-02-05 11:43:00 -08:00
2022-12-16 03:49:24 -08:00
2023-01-12 17:02:20 -06:00