s3: "check_magic" only looks at the size
authorVolker Lendecke <vl@samba.org>
Fri, 27 Nov 2009 11:58:26 +0000 (12:58 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 29 Nov 2009 10:22:03 +0000 (11:22 +0100)
source3/smbd/close.c

index 816c5d98bd6d5a77c33af448ddb99f6caef5e07c..afba07f1f51af5f3b3541aa4ca12bef68825141c 100644 (file)
@@ -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);