rmdir: use normal delete upcall instead of close
caused memory leaks of nfs41_open_state. we have the FileDispositionInformation upcall for exactly this, so there's no need to complicate the close code path Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
d1169b1f6b
commit
5dc1b43191
2 changed files with 4 additions and 23 deletions
|
|
@ -431,8 +431,7 @@ int handle_close(nfs41_upcall *upcall)
|
|||
}
|
||||
}
|
||||
|
||||
if (args->state->type == NF4REG || !args->remove)
|
||||
free_open_state(state->session, state);
|
||||
free_open_state(state->session, state);
|
||||
if (status || !rm_status)
|
||||
return status;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue