ref counting for nfs41_open_state

This commit is contained in:
Olga Kornievskaia 2010-10-27 16:18:12 -04:00
parent ae4c67c21e
commit 006bdfa47a
10 changed files with 78 additions and 5 deletions

View file

@ -181,4 +181,9 @@ void upcall_cleanup(
const nfs41_upcall_op *op = g_upcall_op_table[upcall->opcode];
if (op && op->cleanup)
op->cleanup(upcall);
if (upcall->state_ref) {
nfs41_open_state_deref(upcall->state_ref);
upcall->state_ref = NULL;
}
}