diff options
author | Brint E. Kriebel <bekit@cyngn.com> | 2014-11-03 18:35:31 -0800 |
---|---|---|
committer | Brint E. Kriebel <bekit@cyngn.com> | 2014-11-03 18:35:31 -0800 |
commit | 2f5f3e1e6b2c16ec4475c6b267e3d37ef93c82a5 (patch) | |
tree | 17cf13bcf9479b23b1fe4fda3f9f486cd66999fe | |
parent | 0f81228fb98168be56122cbff8fe7c81e804f4ad (diff) | |
parent | c1d985e1346fd6b1d4548f15a492298d758fb3e9 (diff) | |
download | android_system_vold-stable/cm-11.0-XNF9X.tar.gz android_system_vold-stable/cm-11.0-XNF9X.tar.bz2 android_system_vold-stable/cm-11.0-XNF9X.zip |
Merge branch 'cm-11.0' into stable/cm-11.0cm-11.0-XNPH05Q-tomato-9828f8e9cccm-11.0-XNPH05Q-bacon-5229c4ef56stable/cm-11.0-XNF9Xstable/cm-11.0-XNF8Ystable/cm-11.0shipping/cm-11.0
-rw-r--r-- | Volume.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -531,6 +531,16 @@ int Volume::mountVol() { } } else if (strcmp(fstype, "f2fs") == 0) { + /* + * fsck.f2fs does not fix any inconsistencies "yet". + * + * Disable fsck routine as this is just wasting time + * consumed to mount f2fs volumes. + * + * The kernel can determine if a f2fs volume is too damaged + * that it shouldn't get mounted. + */ + #if 0 if (F2FS::check(devicePath)) { errno = EIO; /* Badness - abort the mount */ @@ -539,6 +549,7 @@ int Volume::mountVol() { free(fstype); return -1; } + #endif if (F2FS::doMount(devicePath, getMountpoint(), false, false, false, true)) { SLOGE("%s failed to mount via F2FS (%s)\n", devicePath, strerror(errno)); |