Merge "Clean up comments/logs" am: 02360a55b7 am: 8f9a356bd1

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2057947

Change-Id: I3227ef8803bf629de16746600f6f8e445887105e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2022-04-07 04:02:08 +00:00 committed by Automerger Merge Worker
commit 3197c33f5b

View file

@ -113,10 +113,10 @@ static void Copy(const char* src, const char* dst) {
LOG(INFO) << "hard linking " << src << " to " << dst << " succeeded";
return;
}
PLOG(FATAL) << "hard linking " << src << " to " << dst << " failed, falling back to copy.";
PLOG(FATAL) << "hard linking " << src << " to " << dst << " failed";
}
// Move e2fsck before switching root, so that it is available at the same path
// Move snapuserd before switching root, so that it is available at the same path
// after switching root.
void PrepareSwitchRoot() {
constexpr const char* src = "/system/bin/snapuserd";