summaryrefslogtreecommitdiff
path: root/ext2fs/ext2fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs/ext2fs.c')
-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)