summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 12:58:26 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:03 +0100
commit19a7a6cbe39dd1a5d0a1ddccfab1ff07db7b041a (patch)
tree84cee4dadc3d1e18586ad66afe0c6160ff04c45f
parent359e71d956dc912a9b548b3e40612b7f40ef94ea (diff)
downloadsamba-19a7a6cbe39dd1a5d0a1ddccfab1ff07db7b041a.tar.gz
samba-19a7a6cbe39dd1a5d0a1ddccfab1ff07db7b041a.tar.bz2
samba-19a7a6cbe39dd1a5d0a1ddccfab1ff07db7b041a.zip
s3: "check_magic" only looks at the size
-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 816c5d98bd..afba07f1f5 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);