HomeFreeBSD

libshare: nfs: don't leak nfs_lock_fd when lock fails

Description

libshare: nfs: don't leak nfs_lock_fd when lock fails

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Wilson <gwilson@delphix.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11886

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on Apr 11 2021, 5:27 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Apr 19 2021, 4:06 PM
Parents
rGfef8bd41fc17: libspl: implement atomics in terms of atomics
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG0f4d83117a6b: libshare: nfs: don't leak nfs_lock_fd when lock fails (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).Apr 19 2021, 4:06 PM