projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49679ff
)
dissect: rescan devices before creating partition list (#9930)
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Fri, 24 Aug 2018 13:34:13 +0000
(22:34 +0900)
committer
GitHub
<noreply@github.com>
Fri, 24 Aug 2018 13:34:13 +0000
(22:34 +0900)
Fixes #9924 which is caused by
3c1f2cee0ad2bea0839ac335532275f3a73c8b20
.
src/shared/dissect-image.c
patch
|
blob
|
history
diff --git
a/src/shared/dissect-image.c
b/src/shared/dissect-image.c
index
06070d0
..
5e48ee7
100644
(file)
--- a/
src/shared/dissect-image.c
+++ b/
src/shared/dissect-image.c
@@
-350,6
+350,10
@@
int dissect_image(
e = sd_device_enumerator_unref(e);
}
+ r = device_enumerator_scan_devices(e);
+ if (r < 0)
+ return r;
+
FOREACH_DEVICE_AND_SUBSYSTEM(e, q) {
unsigned long long pflags;
blkid_partition pp;