summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext2fs/ChangeLog5
-rw-r--r--ext2fs/ialloc.c4
2 files changed, 5 insertions, 4 deletions
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 <marcus@gnu.org>
+
+ * ialloc.c (diskfs_alloc_node): Remove warnings about stale
+ nonzero st_blocks or st_size.
+
2001-08-16 Roland McGrath <roland@frob.com>
* 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;