aboutsummaryrefslogtreecommitdiff
path: root/ext2fs/storeinfo.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/storeinfo.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/storeinfo.c')
-rw-r--r--ext2fs/storeinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext2fs/storeinfo.c b/ext2fs/storeinfo.c
index cd67db16..7d6bdd23 100644
--- a/ext2fs/storeinfo.c
+++ b/ext2fs/storeinfo.c
@@ -1,6 +1,6 @@
/* Access to file layout information
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1996 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -115,8 +115,8 @@ diskfs_S_file_get_storage_info (struct protid *cred, int *class,
else
*runs_len = 0;
- ((long *)*misc)[0] = htonl (node->dn->number);
- ((long *)*misc)[1] = htonl (dino (node->dn->number)->i_translator);
+ ((long *)*misc)[0] = htonl (node->cache_id);
+ ((long *)*misc)[1] = htonl (dino (node->cache_id)->i_translator);
*class = STORAGE_DEVICE;
*flags = 0;