diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2001-08-17 00:42:41 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2001-08-17 00:42:41 +0000 |
commit | 8d7db253d680d4a7cf334fe3a2708cc47d4810ab (patch) | |
tree | 29fd786a7d3c9ceee1b8198096e7193de3288a3d /ext2fs | |
parent | d88c855b3d710f54091c37490a6cc542693fe39a (diff) |
2001-08-17 Marcus Brinkmann <marcus@gnu.org>
* ialloc.c (diskfs_alloc_node): Remove warnings about stale
nonzero st_blocks or st_size.
Diffstat (limited to 'ext2fs')
-rw-r--r-- | ext2fs/ChangeLog | 5 | ||||
-rw-r--r-- | ext2fs/ialloc.c | 4 |
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; |