summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 12:51:56 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:02 +0100
commite5392748ec9ceb70d342f85d0194d47417509752 (patch)
treefaa8e26f17b55d6af724d6b09a2af087d9a9ebb6 /source3
parent552313a79c27d47005fbf0e663797ca82303a7c0 (diff)
downloadsamba-e5392748ec9ceb70d342f85d0194d47417509752.tar.gz
samba-e5392748ec9ceb70d342f85d0194d47417509752.tar.bz2
samba-e5392748ec9ceb70d342f85d0194d47417509752.zip
s3: "process_usershare_file" only looks at the dev, ino, mode and size
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
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) ));