diff options
| author | Anna Schumaker <anna.schumaker@hammerspace.com> | 2026-06-30 15:39:45 -0400 |
|---|---|---|
| committer | Anna Schumaker <anna.schumaker@hammerspace.com> | 2026-07-20 11:04:04 -0400 |
| commit | 4aeb63d5ac2dba2a474e7b64d60776d9dd1c6cd2 (patch) | |
| tree | 4e48598aece31d80c74bdced9c761ad951194a28 /scripts/generate_initcall_order.pl | |
| parent | cf616096a0f3a2b60f7d68b6b39674a6867ded9c (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/generate_initcall_order.pl')
0 files changed, 0 insertions, 0 deletions
