/* find the block device file */
- if ( sys_stat(path, &S, lp_fake_dir_create_times()) == -1 )
+ if (sys_stat(path, &S, false) == -1 )
return(False) ;
devno = S.st_ex_dev ;
found = False ;
while ((mnt = getmntent(fp))) {
- if ( sys_stat(mnt->mnt_dir, &S, lp_fake_dir_create_times())
- == -1 )
+ if (sys_stat(mnt->mnt_dir, &S, false) == -1)
continue ;
if (S.st_ex_dev == devno) {
int quota_default = 0 ;
bool found = false;
- if (sys_stat(path, &sbuf, lp_fake_dir_create_times()) == -1) {
+ if (sys_stat(path, &sbuf, false) == -1) {
return false;
}
}
while ((mnt = getmntent(fd)) != NULL) {
- if (sys_stat(mnt->mnt_dir, &sbuf, lp_fake_dir_create_times())
- == -1) {
+ if (sys_stat(mnt->mnt_dir, &sbuf, false) {
continue;
}
if (sbuf.st_ex_dev == devno) {
euser_id = geteuid();
- if (sys_stat(path, &sbuf, lp_fake_dir_create_times()) == -1) {
+ if (sys_stat(path, &sbuf, false) {
return false;
}
}
while (getmntent(fd, &mnt) == 0) {
- if (sys_stat(mnt.mnt_mountp, &sbuf,
- lp_fake_dir_create_times()) == -1) {
+ if (sys_stat(mnt.mnt_mountp, &sbuf, false) == -1) {
continue;
}
}
while ((mnt = getmntent(fd)) != NULL) {
- if (sys_stat(mnt->mnt_dir, &sbuf,
- lp_fake_dir_create_times()) == -1) {
+ if (sys_stat(mnt->mnt_dir, &sbuf, false) == -1) {
continue;
}
DEBUG(5,("disk_quotas: testing \"%s\" devno=%x\n",
/* find the block device file */
- if ( sys_stat(path, &S, lp_fake_dir_create_times()) == -1 ) {
+ if ( sys_stat(path, &S, false) == -1 ) {
return(False) ;
}
found = False ;
while ((mnt = getmntent(fp))) {
- if ( sys_stat(mnt->mnt_dir, &S, lp_fake_dir_create_times()) == -1 )
+ if ( sys_stat(mnt->mnt_dir, &S, false) == -1 )
continue ;
if (S.st_ex_dev == devno) {
found = True ;
* to have a significant performance boost when
* lstat calls on /dev access this function.
*/
- if ((sys_stat(path, &S, lp_fake_dir_create_times())<0)
+ if ((sys_stat(path, &S, false)<0)
|| (devnm(S_IFBLK, S.st_ex_dev, dev_disk, 256, 1)<0))
#else
- if ((sys_stat(path, &S, lp_fake_dir_create_times())<0)
+ if ((sys_stat(path, &S, false)<0)
|| (devnm(S_IFBLK, S.st_ex_dev, dev_disk, 256, 0)<0))
return (False);
#endif /* ifdef HPUX */
SMB_STRUCT_STAT st;
int mntsize, i;
- if (sys_stat(path, &st, lp_fake_dir_create_times()) < 0)
+ if (sys_stat(path, &st, false) < 0)
return False;
devno = st.st_ex_dev;
return False;
for (i = 0; i < mntsize; i++) {
- if (sys_stat(mnts[i].f_mntonname, &st, lp_fake_dir_create_times()) < 0)
+ if (sys_stat(mnts[i].f_mntonname, &st, false) < 0)
return False;
if (st.st_ex_dev == devno)
break;