patch-1.3.92 linux/fs/isofs/inode.c
Next file: linux/fs/minix/inode.c
Previous file: linux/fs/fat/inode.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sat Apr 20 11:25:31 1996
- Orig file:
v1.3.91/linux/fs/isofs/inode.c
- Orig date:
Sat Apr 13 18:22:07 1996
diff -u --recursive --new-file v1.3.91/linux/fs/isofs/inode.c linux/fs/isofs/inode.c
@@ -431,7 +431,8 @@
tmp.f_type = ISOFS_SUPER_MAGIC;
tmp.f_bsize = sb->s_blocksize;
- tmp.f_blocks = sb->u.isofs_sb.s_nzones;
+ tmp.f_blocks = (sb->u.isofs_sb.s_nzones
+ << (sb->u.isofs_sb.s_log_zone_size - sb->s_blocksize_bits));
tmp.f_bfree = 0;
tmp.f_bavail = 0;
tmp.f_files = sb->u.isofs_sb.s_ninodes;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this