summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-04-11 17:31:48 +0000
committerMiles Bader <miles@gnu.org>1996-04-11 17:31:48 +0000
commitf226931463434e12e74e6f22871416b8b59ce2b1 (patch)
tree16547caefd5ef60d99323b9db6b70321f8fef301 /ext2fs
parent4717b8f3ad19998148523ea1d172353db1e7fedb (diff)
Replace references to iget with diskfs_cached_lookup.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/ext2fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/ext2fs.c b/ext2fs/ext2fs.c
index 39dd2470..fcf29bca 100644
--- a/ext2fs/ext2fs.c
+++ b/ext2fs/ext2fs.c
@@ -98,7 +98,7 @@ main (int argc, char **argv)
inode_init ();
/* Set diskfs_root_node to the root inode. */
- err = iget (EXT2_ROOT_INO, &diskfs_root_node);
+ err = diskfs_cached_lookup (EXT2_ROOT_INO, &diskfs_root_node);
if (err)
ext2_panic ("can't get root: %s", strerror (err));
else if ((diskfs_root_node->dn_stat.st_mode & S_IFMT) == 0)