propagating file change attr for setacl
This commit is contained in:
parent
cdf31d3ee0
commit
13c3723191
3 changed files with 13 additions and 0 deletions
|
|
@ -785,13 +785,21 @@ static int handle_setacl(nfs41_upcall *upcall)
|
|||
nfs_error_string(status));
|
||||
status = nfs_to_windows_error(status, ERROR_NOT_SUPPORTED);
|
||||
}
|
||||
args->ctime = info.change;
|
||||
if (args->query & DACL_SECURITY_INFORMATION)
|
||||
free(nfs4_acl.aces);
|
||||
out:
|
||||
return status;
|
||||
}
|
||||
|
||||
static int marshall_setacl(unsigned char *buffer, uint32_t *length, nfs41_upcall *upcall)
|
||||
{
|
||||
setacl_upcall_args *args = &upcall->args.setacl;
|
||||
return safe_write(&buffer, length, &args->ctime, sizeof(args->ctime));
|
||||
}
|
||||
|
||||
const nfs41_upcall_op nfs41_op_setacl = {
|
||||
parse_setacl,
|
||||
handle_setacl,
|
||||
marshall_setacl
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue