diff options
| author | 2023-02-02 16:15:54 +0100 | |
|---|---|---|
| committer | 2023-02-03 07:45:46 +0100 | |
| commit | d83d7ed260283560700d4034a80baad46620481b (patch) | |
| tree | 46e964a17a0d3710e0006c4cb9054c07f98f7a8a /include/uapi/linux/byteorder/ssh:/git:/git.zx2c4.com | |
| parent | HV: hv_balloon: fix memory leak with using debugfs_lookup() (diff) | |
kernel/irq/irqdomain.c: 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: Thomas Gleixner <tglx@linutronix.de>
Cc: stable <stable@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230202151554.2310273-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git:/git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
