From 8d7db253d680d4a7cf334fe3a2708cc47d4810ab Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Fri, 17 Aug 2001 00:42:41 +0000 Subject: 2001-08-17 Marcus Brinkmann * ialloc.c (diskfs_alloc_node): Remove warnings about stale nonzero st_blocks or st_size. --- ext2fs/ChangeLog | 5 +++++ ext2fs/ialloc.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'ext2fs') diff --git a/ext2fs/ChangeLog b/ext2fs/ChangeLog index ada7b5a3..e66096a5 100644 --- a/ext2fs/ChangeLog +++ b/ext2fs/ChangeLog @@ -1,3 +1,8 @@ +2001-08-17 Marcus Brinkmann + + * ialloc.c (diskfs_alloc_node): Remove warnings about stale + nonzero st_blocks or st_size. + 2001-08-16 Roland McGrath * inode.c (write_node): Leave i_size, i_blocks, i_translator unchanged diff --git a/ext2fs/ialloc.c b/ext2fs/ialloc.c index de37b99e..ec57312c 100644 --- a/ext2fs/ialloc.c +++ b/ext2fs/ialloc.c @@ -291,8 +291,6 @@ diskfs_alloc_node (struct node *dir, mode_t mode, struct node **node) if (st->st_blocks) { - if (sblock->s_creator_os == EXT2_OS_HURD) - ext2_warning ("Free inode %d had %ld blocks", inum, st->st_blocks); st->st_blocks = 0; np->dn_set_ctime = 1; } @@ -306,8 +304,6 @@ diskfs_alloc_node (struct node *dir, mode_t mode, struct node **node) st->st_mode &= ~S_IPTRANS; if (np->allocsize) { - if (sblock->s_creator_os == EXT2_OS_HURD) - ext2_warning ("Free inode %d had a size of %ld", inum, st->st_size); st->st_size = 0; np->allocsize = 0; np->dn_set_ctime = 1; -- cgit v1.2.3