Merge "Get the correct fstab entry if there are more than one" into main
This commit is contained in:
commit
41d3e8d1e5
1 changed files with 2 additions and 1 deletions
|
@ -198,7 +198,8 @@ Status cp_commitChanges() {
|
|||
|
||||
// Walk mounted file systems
|
||||
for (const auto& mount_rec : mounts) {
|
||||
const auto fstab_rec = GetEntryForMountPoint(&fstab_default, mount_rec.mount_point);
|
||||
const auto fstab_rec =
|
||||
GetEntryForMountPoint(&fstab_default, mount_rec.mount_point, mount_rec.fs_type);
|
||||
if (!fstab_rec) continue;
|
||||
|
||||
if (fstab_rec->fs_mgr_flags.checkpoint_fs) {
|
||||
|
|
Loading…
Reference in a new issue