aboutsummaryrefslogtreecommitdiff
path: root/ext2fs/getblk.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-04-11 17:32:16 +0000
committerMiles Bader <miles@gnu.org>1996-04-11 17:32:16 +0000
commita8fdf61daa07b5580c97c481e2a4685381717eb8 (patch)
tree63eba36b3804bcf07f9b767bc72737f556275cc4 /ext2fs/getblk.c
parentf226931463434e12e74e6f22871416b8b59ce2b1 (diff)
downloadhurd-a8fdf61daa07b5580c97c481e2a4685381717eb8.tar.gz
hurd-a8fdf61daa07b5580c97c481e2a4685381717eb8.tar.bz2
hurd-a8fdf61daa07b5580c97c481e2a4685381717eb8.zip
Replace references to the NUMBER field in a node's disknode structures with
references to the CACHE_ID field in the node.
Diffstat (limited to 'ext2fs/getblk.c')
-rw-r--r--ext2fs/getblk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext2fs/getblk.c b/ext2fs/getblk.c
index 0d06065b..ecc69dcc 100644
--- a/ext2fs/getblk.c
+++ b/ext2fs/getblk.c
@@ -1,6 +1,6 @@
/* File block to disk block mapping routines
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Converted to work under the hurd by Miles Bader <miles@gnu.ai.mit.edu>
@@ -53,7 +53,7 @@ ext2_discard_prealloc (struct node *node)
{
int i = node->dn->info.i_prealloc_count;
ext2_debug ("discarding %d prealloced blocks for inode %d",
- i, node->dn->number);
+ i, node->cache_id);
node->dn->info.i_prealloc_count = 0;
ext2_free_blocks (node->dn->info.i_prealloc_block, i);
}