git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3441c01
)
s3: Use talloc_tos() in set_sticky_write_time()
author
Volker Lendecke
<vl@samba.org>
Tue, 13 Dec 2011 13:11:28 +0000
(14:11 +0100)
committer
Volker Lendecke
<vlendec@samba.org>
Tue, 13 Dec 2011 13:14:24 +0000
(14:14 +0100)
source3/locking/locking.c
patch
|
blob
|
history
diff --git
a/source3/locking/locking.c
b/source3/locking/locking.c
index caa2b5aef6417418ed87e576b854f169a8e809f0..e3b4e497a3aafa52f4143f6e66e599aea60549f6 100644
(file)
--- a/
source3/locking/locking.c
+++ b/
source3/locking/locking.c
@@
-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;
}