deleg: release reference in remove_srvopen()
nfs41_delegation_remove_srvopen() gets a reference to a delegation via delegation_find(). this reference wasn't being released Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
918ef9cd3e
commit
e553ede209
1 changed files with 1 additions and 0 deletions
|
|
@ -629,6 +629,7 @@ void nfs41_delegation_remove_srvopen(
|
||||||
AcquireSRWLockExclusive(&deleg->lock);
|
AcquireSRWLockExclusive(&deleg->lock);
|
||||||
deleg->srv_open = NULL;
|
deleg->srv_open = NULL;
|
||||||
ReleaseSRWLockExclusive(&deleg->lock);
|
ReleaseSRWLockExclusive(&deleg->lock);
|
||||||
|
nfs41_delegation_deref(deleg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* synchronous delegation return */
|
/* synchronous delegation return */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue