From e5392748ec9ceb70d342f85d0194d47417509752 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 27 Nov 2009 12:51:56 +0100 Subject: s3: "process_usershare_file" only looks at the dev, ino, mode and size --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index a38deb052b..f42a70d055 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -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) )); -- cgit