summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAnna Schumaker <anna.schumaker@hammerspace.com>2026-06-30 15:39:45 -0400
committerAnna Schumaker <anna.schumaker@hammerspace.com>2026-07-20 11:04:04 -0400
commit4aeb63d5ac2dba2a474e7b64d60776d9dd1c6cd2 (patch)
tree4e48598aece31d80c74bdced9c761ad951194a28 /scripts
parentcf616096a0f3a2b60f7d68b6b39674a6867ded9c (diff)
NFS: Decrement refcounts if allocating nfs_free_stateid_data fails
I noticed that we were immediately exiting this function if the allocation fails, leaving the client and server object refcounts bumped. Fix this by creating a common exit point to clean up dangling references. Fixes: 576acc259146 ("nfs4: take a reference on the nfs_client when running FREE_STATEID") Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions