s3: "process_usershare_file" only looks at the dev, ino, mode and size
authorVolker Lendecke <vl@samba.org>
Fri, 27 Nov 2009 11:51:56 +0000 (12:51 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 29 Nov 2009 10:22:02 +0000 (11:22 +0100)
source3/param/loadparm.c

index a38deb052b1dd6a814fe72ee1c07f56680e399e2..f42a70d05528bb646336ab3e746b064b01bc3a06 100644 (file)
@@ -8675,7 +8675,7 @@ static int process_usershare_file(const char *dir_name, const char *file_name, i
        }
 
        /* Now fstat to be *SURE* it's a regular file. */
-       if (sys_fstat(fd, &sbuf, lp_fake_dir_create_times()) != 0) {
+       if (sys_fstat(fd, &sbuf, false) != 0) {
                close(fd);
                DEBUG(0,("process_usershare_file: fstat of %s failed. %s\n",
                        fname, strerror(errno) ));