propagating file change attr on open

This commit is contained in:
Olga Kornievskaia 2012-02-08 11:11:09 -05:00
parent 3def6f5e24
commit ec034e7fd9
3 changed files with 8 additions and 7 deletions

View file

@ -602,6 +602,7 @@ static int handle_open(nfs41_upcall *upcall)
nfs_to_basic_info(&info, &args->basic_info);
nfs_to_standard_info(&info, &args->std_info);
args->mode = info.mode;
args->changeattr = info.change;
if (state->delegation.state)
args->deleg_type = state->delegation.state->state.type;
}

View file

@ -53,7 +53,7 @@ typedef struct __open_upcall_args {
ULONG create_opts;
LONG open_owner_id;
DWORD mode;
LONGLONG changeattr;
ULONGLONG changeattr;
HANDLE srv_open;
DWORD deleg_type;
BOOLEAN created;