322
322
static int minix_statfs(struct dentry *dentry, struct kstatfs *buf)
327
329
buf->f_blocks = (sbi->s_nzones - sbi->s_firstdatazone) << sbi->s_log_zone_size;
328
330
buf->f_bfree = minix_count_free_blocks(sbi);
329
331
buf->f_bavail = buf->f_bfree;
330
332
buf->f_files = sbi->s_ninodes;
331
333
buf->f_ffree = minix_count_free_inodes(sbi);
332
334
buf->f_namelen = sbi->s_namelen;