From d42d327c176d5819423f4bf9e211bb12bb5dde72 Mon Sep 17 00:00:00 2001 From: Ken Sumrall Date: Tue, 6 Nov 2012 17:55:37 -0800 Subject: [PATCH] Fix fs_mgr to properly invoke e2fsck on encrypted devices Change-Id: Ie220f5cb7b614a48ec8afe66f4721ede3a368166 --- fs_mgr/fs_mgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs_mgr/fs_mgr.c b/fs_mgr/fs_mgr.c index 538b5be22..99adb81d9 100644 --- a/fs_mgr/fs_mgr.c +++ b/fs_mgr/fs_mgr.c @@ -523,11 +523,11 @@ int fs_mgr_do_mount(char *fstab_file, char *n_name, char *n_blk_dev, char *tmp_m /* We found our match */ /* First check the filesystem if requested */ if (fstab[i].fs_mgr_flags & MF_WAIT) { - wait_for_file(fstab[i].blk_dev, WAIT_TIMEOUT); + wait_for_file(n_blk_dev, WAIT_TIMEOUT); } if (fstab[i].fs_mgr_flags & MF_CHECK) { - check_fs(fstab[i].blk_dev, fstab[i].type, fstab[i].mnt_point); + check_fs(n_blk_dev, fstab[i].type, fstab[i].mnt_point); } /* Now mount it where requested */