diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2024-04-25 16:48:37 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-04-25 16:48:37 +0000 |
commit | 41d3e8d1e53494db7bd1469994ccf4b23f42e116 (patch) | |
tree | 5b99a152b7c1993664cb09148431ddf5a851cb0e | |
parent | 7c7fb49a3c9ca5de01a651ad6f929389c2162a11 (diff) | |
parent | fd5eb260c4871f67d73d6d1aa591d9e4ddf00c6c (diff) | |
download | vold-41d3e8d1e53494db7bd1469994ccf4b23f42e116.tar.gz |
Merge "Get the correct fstab entry if there are more than one" into main
-rw-r--r-- | Checkpoint.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Checkpoint.cpp b/Checkpoint.cpp index eca49ef5..598a87bc 100644 --- a/Checkpoint.cpp +++ b/Checkpoint.cpp @@ -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) { |