diff options
author | Volker Lendecke <vl@samba.org> | 2011-12-13 14:11:28 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-12-13 14:14:24 +0100 |
commit | 27e63b72a1356aa0ca73c6bda23dcc4ecfcc4b0a (patch) | |
tree | aa92b4211af5cf5e52029bb91abb113aa78ac338 | |
parent | 3441c01b16630300a4d7ea4f63fc7e785c91e7ab (diff) | |
download | samba-27e63b72a1356aa0ca73c6bda23dcc4ecfcc4b0a.tar.gz samba-27e63b72a1356aa0ca73c6bda23dcc4ecfcc4b0a.tar.bz2 samba-27e63b72a1356aa0ca73c6bda23dcc4ecfcc4b0a.zip |
s3: Use talloc_tos() in set_sticky_write_time()
-rw-r--r-- | source3/locking/locking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c index caa2b5aef6..e3b4e497a3 100644 --- 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; } |