fs_mgr: error check umount calls / add retry logic
Nick Kralevich authored
Don't silently ignore umount errors. At a minimum, log them.

Add strerror(errno) to another umount call, to make sure we get
some actionable data.

check_fs: try 5 times umounting the filesystem. It appears that
the umount is failing, perhaps because some service is opening
the file on the device or other error. Try unmounting it multiple
times in case it's a transient problem and we can recover.

Bug: 19199624
Bug: 19156134
Change-Id: I7213eb52d55116fb2419a36494d26d5e159981a7
7294eb6c
Name Last commit Last update
adb Remove netcfg's unused options.
adf Add missing includes.
cpio cpio: Turn on -Werror
debuggerd Remove the pt_regs_mips_t structure.
fastboot kill libunz
fs_mgr fs_mgr: error check umount calls / add retry logic
gpttool gpttool: turn on -Werror
healthd Remove obsolete BUILD_TINY_ANDROID check from healthd makefile
include Fix Windows build.
init Stop using #if for conditional compilation.
libbacktrace Cleanup libbacktrace Android.mk
libcutils android_reboot should take a const char*.
libdiskconfig am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror"
libion Add missing <malloc.h> and <string.h> includes.
liblog Kill HAVE_PTHREADS.
libmemtrack Add missing <malloc.h> and <string.h> includes.
libmincrypt Disable clang optimization that has segmentation fault.
libnativebridge am c6dead70: Merge "maybe fix mac build"
libnetutils Remove netcfg's unused options.
libpixelflinger Remove obsolete BUILD_TINY_ANDROID.
libprocessgroup Fix missing #includes in system/core.
libsparse Cleanup libsparse Android.mk
libsuspend Libsuspend: Remove unused variable
libsync Add missing <malloc.h> and <string.h> includes.
libsysutils Add missing <malloc.h> and <string.h> includes.
libusbhost
libutils
libziparchive
libzipfile
lmkd
logcat
logd
logwrapper
mkbootimg
netcfg
reboot
rootdir
run-as
sdcard
toolbox
.gitignore
Android.mk
CleanSpec.mk
MODULE_LICENSE_APACHE2
NOTICE