diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2026-06-14 10:56:35 +0300 |
|---|---|---|
| committer | Anna Schumaker <anna.schumaker@hammerspace.com> | 2026-06-17 21:07:09 +0300 |
| commit | d189f224308c8ac3feeea8e442c99922bd18f1b2 (patch) | |
| tree | 67277f8e36c1649328e065cef3818434a3ece947 /scripts | |
| parent | 41fe0f7b84f0cb822ae10ab08592996a592b2a25 (diff) | |
| download | linux-d189f224308c8ac3feeea8e442c99922bd18f1b2.tar.xz | |
NFS: Prevent resource leak in nfs_alloc_server()
It was overlooked to call ida_free() after a failed nfs_alloc_iostats() call.
Thus add the missed function call in an if branch.
Fixes: 1c7251187dc067a6d460cf33ca67da9c1dd87807 ("NFS: add superblock sysfs entries")
Cc: stable@vger.kernel.org
Reported-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Closes: https://lore.kernel.org/linux-nfs/1c8e10c9-def7-4f0d-8aa1-23c8035a38c8@wanadoo.fr/
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
