OSDN Git Service

Android: avoid the second check_mntent_file() android-x86-8.1-r2
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 25 Jan 2019 09:22:43 +0000 (17:22 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 25 Jan 2019 09:22:43 +0000 (17:22 +0800)
commit9e4aa3a4270347e2abadb52610bcc3658e086b40
tree36722f1f2ded9b5f58c965f2a8482cc00df15586
parentaa5389acc2bc85a1f5fd9505a79503929d418232
Android: avoid the second check_mntent_file()

It's usually used to check /etc/mtab but Android doesn't have the file.
The second check is unnecessary.
lib/ext2fs/ismounted.c