1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

s3: "check_magic" only looks at the size

This commit is contained in:
Volker Lendecke 2009-11-27 12:58:26 +01:00
parent 359e71d956
commit 19a7a6cbe3

View 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);