From 951968841145a45c423463e8cd9de592cc264f5f Mon Sep 17 00:00:00 2001 From: Keun-young Park Date: Thu, 4 May 2017 18:28:15 -0700 Subject: [PATCH] use passed blk dev name for quota / super block check - It was using blk dev name from fstab and quota / super block check was always failing for FDE bug: 37913441 Test: reboot and confirm quota Change-Id: I8a9e890ef2787f2959e6a0225c6b21d35602f19e --- fs_mgr/fs_mgr.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs_mgr/fs_mgr.cpp b/fs_mgr/fs_mgr.cpp index 6e9069e5d..60ce43eba 100644 --- a/fs_mgr/fs_mgr.cpp +++ b/fs_mgr/fs_mgr.cpp @@ -1046,8 +1046,7 @@ int fs_mgr_do_mount(struct fstab *fstab, const char *n_name, char *n_blk_device, } int fs_stat = 0; - int force_check = do_quota_with_shutdown_check(fstab->recs[i].blk_device, - fstab->recs[i].fs_type, + int force_check = do_quota_with_shutdown_check(n_blk_device, fstab->recs[i].fs_type, &fstab->recs[i], &fs_stat); if ((fstab->recs[i].fs_mgr_flags & MF_CHECK) || force_check) {