diff options
author | Volker Lendecke <vl@samba.org> | 2011-12-13 14:11:38 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-12-13 15:44:58 +0100 |
commit | 1cf54ef4a69e78dff5a812d447b0f385b56c5ebd (patch) | |
tree | 876206eb1c8f047a3f224635f766a12e2ff9325a /source3/locking | |
parent | 27e63b72a1356aa0ca73c6bda23dcc4ecfcc4b0a (diff) | |
download | samba-1cf54ef4a69e78dff5a812d447b0f385b56c5ebd.tar.gz samba-1cf54ef4a69e78dff5a812d447b0f385b56c5ebd.tar.bz2 samba-1cf54ef4a69e78dff5a812d447b0f385b56c5ebd.zip |
s3: Use talloc_tos() in set_write_time()
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 13 15:44:58 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/locking')
-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 e3b4e497a3..c1f99430ed 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -1438,7 +1438,7 @@ bool set_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; } |