summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-06-03 21:23:47 +0000
committerMiles Bader <miles@gnu.org>1997-06-03 21:23:47 +0000
commit41dba9fe49b5007a3491c8f3b914273f05f107e5 (patch)
tree16e256f5a8196740177439b3e3e08fa078b0e414 /ext2fs
parent752dcd43d7106531f248edf0d846fbd17998f492 (diff)
(read_node):
Don't assert that st_blocks is zero for non-dir/file/long-symlink inodes.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/inode.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index 9397a7c4..8a365b74 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -1,6 +1,6 @@
/* Inode management routines
- Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
Converted for ext2fs by Miles Bader <miles@gnu.ai.mit.edu>
@@ -312,10 +312,7 @@ read_node (struct node *np)
allocated as well, although st_size may be zero for any type (cases
where st_blocks=0 and st_size>0 include fast symlinks, and, under
linux, some devices). */
- {
- np->allocsize = 0;
- assert (st->st_blocks == 0);
- }
+ np->allocsize = 0;
return 0;
}