OSDN Git Service
(root)
/
android-x86
/
system-vold.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c98d1f5
)
Scan failure still means we finished scan.
author
Jeff Sharkey
<jsharkey@android.com>
Wed, 29 Apr 2015 04:17:43 +0000
(21:17 -0700)
committer
Jeff Sharkey
<jsharkey@android.com>
Wed, 29 Apr 2015 04:17:43 +0000
(21:17 -0700)
Bug:
19993667
Change-Id: If6a79391e34b652b2ba4e6df40a8e712f7a2e172
Disk.cpp
patch
|
blob
|
history
diff --git
a/Disk.cpp
b/Disk.cpp
index
218c251
..
5b5d769
100644
(file)
--- a/
Disk.cpp
+++ b/
Disk.cpp
@@
-260,6
+260,7
@@
status_t Disk::readPartitions() {
status_t res = ForkExecvp(cmd, output);
if (res != OK) {
LOG(WARNING) << "sgdisk failed to scan " << mDevPath;
+ notifyEvent(ResponseCode::DiskScanned);
mJustPartitioned = false;
return res;
}
@@
-322,7
+323,6
@@
status_t Disk::readPartitions() {
#endif
notifyEvent(ResponseCode::DiskScanned);
-
mJustPartitioned = false;
return OK;
}