From 41dba9fe49b5007a3491c8f3b914273f05f107e5 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 3 Jun 1997 21:23:47 +0000 Subject: (read_node): Don't assert that st_blocks is zero for non-dir/file/long-symlink inodes. --- ext2fs/inode.c | 7 ++----- 1 file 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 @@ -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; } -- cgit v1.2.3