Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 886b1b45 authored by Keun-young Park's avatar Keun-young Park
Browse files

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

(cherry picked from commit 95196884)

Change-Id: Id5613387924d3a8d9ed4486113654aed89184af9
parent 3ffa3067
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1047,8 +1047,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) {