char *mount_path;
char *device_path;
char *type;
+ unsigned int block_size;
#ifdef FS_QUOTA_SOLARIS
int fd;
mount->device_path = point.device_path;
mount->mount_path = point.mount_path;
mount->type = point.type;
+ mount->block_size = point.block_size;
return mount;
}
}
if (bytes) {
- *value_r = (uint64_t)dqblk.dqb_curblocks * DEV_BSIZE;
- *limit_r = (uint64_t)dqblk.dqb_bsoftlimit * DEV_BSIZE;
+ *value_r = (uint64_t)dqblk.dqb_curblocks *
+ root->mount->block_size;
+ *limit_r = (uint64_t)dqblk.dqb_bsoftlimit *
+ root->mount->block_size;
} else {
*value_r = dqblk.dqb_curfiles;
*limit_r = dqblk.dqb_fsoftlimit;