nfsd4: don't leave freed stateid hashed
Note the stateid is hashed early on in init_stid(), but isn't currently being unhashed on error paths. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
a1dc695582
commit
24ffb93872
1 changed files with 1 additions and 0 deletions
|
@ -2983,6 +2983,7 @@ nfs4_open_delegation(struct net *net, struct svc_fh *fh,
|
|||
}
|
||||
return;
|
||||
out_free:
|
||||
unhash_stid(&dp->dl_stid);
|
||||
nfs4_put_delegation(dp);
|
||||
out_no_deleg:
|
||||
flag = NFS4_OPEN_DELEGATE_NONE;
|
||||
|
|
Loading…
Reference in a new issue