[acl] return a write delegation on setacl
we were only returning a read delegation, when we try to do a setacl. at cthon2012, we were getting cb_recalls when we had a write delegation.
This commit is contained in:
parent
88d6678f93
commit
47ff10aa57
1 changed files with 1 additions and 1 deletions
|
|
@ -776,7 +776,7 @@ static int handle_setacl(nfs41_upcall *upcall)
|
|||
|
||||
/* break read delegations before SETATTR */
|
||||
nfs41_delegation_return(state->session, &state->file,
|
||||
OPEN_DELEGATE_READ, FALSE);
|
||||
OPEN_DELEGATE_WRITE, FALSE);
|
||||
|
||||
nfs41_open_stateid_arg(state, &stateid);
|
||||
status = nfs41_setattr(state->session, &state->file, &stateid, &info);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue