From f226931463434e12e74e6f22871416b8b59ce2b1 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 11 Apr 1996 17:31:48 +0000 Subject: Replace references to iget with diskfs_cached_lookup. --- ext2fs/ext2fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext2fs/ext2fs.c') 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) -- cgit v1.2.3