summaryrefslogtreecommitdiff
path: root/ext2fs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs/inode.c')
-rw-r--r--ext2fs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index 744ac9da..ef743a1f 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -458,7 +458,7 @@ diskfs_set_statfs (struct statfs *st)
st->f_bsize = block_size;
st->f_blocks = sblock->s_blocks_count;
st->f_bfree = sblock->s_free_blocks_count;
- st->f_bavail = st->fsys_stb_bfree - sblock->s_r_blocks_count;
+ st->f_bavail = st->f_bfree - sblock->s_r_blocks_count;
st->f_files = sblock->s_inodes_count;
st->f_ffree = sblock->s_free_inodes_count;
st->f_fsid = getpid ();