ref counting for nfs41_open_state
This commit is contained in:
parent
ae4c67c21e
commit
006bdfa47a
10 changed files with 78 additions and 5 deletions
|
|
@ -49,6 +49,7 @@ static int parse_rw(unsigned char *buffer, uint32_t length, nfs41_upcall *upcall
|
|||
if (status) goto out;
|
||||
status = safe_read(&buffer, &length, &args->state, sizeof(args->state));
|
||||
if (status) goto out;
|
||||
upcall_open_state_ref(upcall, args->state);
|
||||
|
||||
dprintf(1, "parsing %s len=%ld offset=%ld buf=%p root=%p "
|
||||
"open_state=0x%p\n", opcode2string(upcall->opcode), args->len,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue