Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2210)

Unified Diff: postinstall_runner_action.cc

Issue 6347053: Try to mount new filesystem w/ ext2 first, then ext3. (Closed) Base URL: http://git.chromium.org/git/update_engine.git@master
Patch Set: fix comment for review Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | postinstall_runner_action_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: postinstall_runner_action.cc
diff --git a/postinstall_runner_action.cc b/postinstall_runner_action.cc
index c6320e1fe9b7c75fcc9385e43c27d320e61ab821..80c28c955b73793a78e77516eb8fe17f9eb0e254 100644
--- a/postinstall_runner_action.cc
+++ b/postinstall_runner_action.cc
@@ -32,11 +32,11 @@ void PostinstallRunnerAction::PerformAction() {
unsigned long mountflags = MS_RDONLY;
int rc = mount(install_device.c_str(),
temp_rootfs_dir_.c_str(),
- "ext4",
+ "ext2",
mountflags,
NULL);
if (rc < 0) {
- LOG(INFO) << "Failed to mount install part as ext4. Trying ext3.";
+ LOG(INFO) << "Failed to mount install part as ext2. Trying ext3.";
rc = mount(install_device.c_str(),
temp_rootfs_dir_.c_str(),
"ext3",
« no previous file with comments | « no previous file | postinstall_runner_action_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698