summaryrefslogtreecommitdiff
path: root/isofs
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1997-08-07 20:16:15 +0000
committerThomas Bushnell <thomas@gnu.org>1997-08-07 20:16:15 +0000
commit25d7e66143078462845a671ff32e26ef0afd894d (patch)
tree99b65befeffa04a6feea7aa545416662ccee2a48 /isofs
parent19b09db854da73ea2140fcda1db1965da59df7f6 (diff)
Thu Aug 7 16:01:29 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* inode.c (read_disknode): Units of st_blocks are 512 byte chunks, not logical_block_size chunks.
Diffstat (limited to 'isofs')
-rw-r--r--isofs/ChangeLog5
-rw-r--r--isofs/inode.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/isofs/ChangeLog b/isofs/ChangeLog
index 3f0c44dc..d498a489 100644
--- a/isofs/ChangeLog
+++ b/isofs/ChangeLog
@@ -1,3 +1,8 @@
+Thu Aug 7 16:01:29 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * inode.c (read_disknode): Units of st_blocks are 512 byte chunks,
+ not logical_block_size chunks.
+
1997-07-22 Miles Bader <miles@gnu.ai.mit.edu>
* Makefile (dir): Is isofs, not ufs.
diff --git a/isofs/inode.c b/isofs/inode.c
index 48079caf..13777b6d 100644
--- a/isofs/inode.c
+++ b/isofs/inode.c
@@ -390,7 +390,7 @@ read_disknode (struct node *np, struct dirrect *dr,
}
st->st_blksize = logical_block_size;
- st->st_blocks = (st->st_size - 1) / logical_block_size + 1;
+ st->st_blocks = (st->st_size - 1) / 512 + 1;
st->st_flags = 0;
if (S_ISLNK (st->st_mode))