mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-21 23:47:39 +00:00
load partition_map
only once
This commit is contained in:
parent
9a9e617c35
commit
e9e2ecf2dd
@ -78,7 +78,7 @@ static struct {
|
||||
} blk_info;
|
||||
|
||||
static dev_t setup_block() {
|
||||
const auto partition_map = load_partition_map();
|
||||
static const auto partition_map = load_partition_map();
|
||||
if (dev_list.empty())
|
||||
collect_devices(partition_map);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user