This fixes the build with quotas / configure time detection
of sys_quota interface.
Michael
if ( sys_stat(path, &S) == -1 )
return (-1);
if ( sys_stat(path, &S) == -1 )
return (-1);
fp = setmntent(MOUNTED,"r");
if (fp == NULL) {
fp = setmntent(MOUNTED,"r");
if (fp == NULL) {
if ( sys_stat(mnt->mnt_dir,&S) == -1 )
continue ;
if ( sys_stat(mnt->mnt_dir,&S) == -1 )
continue ;
- if (S.st_dev == devno) {
+ if (S.st_ex_dev == devno) {
(*mntpath) = SMB_STRDUP(mnt->mnt_dir);
(*bdev) = SMB_STRDUP(mnt->mnt_fsname);
(*fs) = SMB_STRDUP(mnt->mnt_type);
(*mntpath) = SMB_STRDUP(mnt->mnt_dir);
(*bdev) = SMB_STRDUP(mnt->mnt_fsname);
(*fs) = SMB_STRDUP(mnt->mnt_type);
- if ((ret=devnm(S_IFBLK, S.st_dev, dev_disk, 256, 1))!=0) {
+ if ((ret=devnm(S_IFBLK, S.st_ex_dev, dev_disk, 256, 1))!=0) {