summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 12:58:26 +0100
committerKarolin Seeger <kseeger@samba.org>2009-12-08 09:15:02 +0100
commit3084b0ce100ac91a0fe2cc6cf4e0fbf73fac8dc3 (patch)
treee6a7254e3bd2bb2e59de84dee11def5d20a2aaff /source3/smbd
parent4d624caccb9cfce3b7db0cefd53fff27a93000db (diff)
downloadsamba-3084b0ce100ac91a0fe2cc6cf4e0fbf73fac8dc3.tar.gz
s3: "check_magic" only looks at the size
(cherry picked from commit fb87f93adf71a26ff62469c528a8495143a7ab42)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c
index 816c5d98bd6..afba07f1f51 100644
--- a/source3/smbd/close.c
+++ b/source3/smbd/close.c
@@ -103,7 +103,7 @@ static NTSTATUS check_magic(struct files_struct *fsp)
goto out;
}
- if (sys_fstat(tmp_fd, &st, lp_fake_dir_create_times()) == -1) {
+ if (sys_fstat(tmp_fd, &st, false) == -1) {
int err = errno;
close(tmp_fd);
close(outfd);