simplifying nfs41_delegate_open args

This commit is contained in:
Olga Kornievskaia 2011-08-23 11:45:59 -04:00
parent 7b07dcebb8
commit dcde6457e7
3 changed files with 8 additions and 14 deletions

View file

@ -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)