mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s3: Use talloc_tos() in set_sticky_write_time()
This commit is contained in:
committed by
Volker Lendecke
parent
3441c01b16
commit
27e63b72a1
@ -1415,7 +1415,7 @@ bool set_sticky_write_time(struct file_id fileid, struct timespec write_time)
|
||||
convert_timespec_to_time_t(write_time)),
|
||||
file_id_string_tos(&fileid)));
|
||||
|
||||
lck = get_share_mode_lock(NULL, fileid, NULL, NULL, NULL);
|
||||
lck = get_share_mode_lock(talloc_tos(), fileid, NULL, NULL, NULL);
|
||||
if (lck == NULL) {
|
||||
return False;
|
||||
}
|
||||
|
Reference in New Issue
Block a user