simplifying nfs41_delegate_open args
This commit is contained in:
parent
7b07dcebb8
commit
dcde6457e7
3 changed files with 8 additions and 14 deletions
|
|
@ -237,9 +237,7 @@ static int open_or_delegate(
|
|||
int status;
|
||||
|
||||
/* check for existing delegation */
|
||||
status = nfs41_delegate_open(state->session->client, &state->file,
|
||||
create, mode, state->share_access, state->share_deny,
|
||||
&state->delegation.state, info);
|
||||
status = nfs41_delegate_open(state, create, mode, info);
|
||||
|
||||
/* get an open stateid if we have no delegation stateid */
|
||||
if (status)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue