Commit cccf35d1 authored by Max Kellermann's avatar Max Kellermann

storage/udisks: add missing MountWait() call to MapFS()

parent 249316c8
......@@ -109,6 +109,12 @@ public:
std::string MapUTF8(const char *uri_utf8) const noexcept override;
AllocatedPath MapFS(const char *uri_utf8) const noexcept override {
try {
const_cast<UdisksStorage *>(this)->MountWait();
} catch (...) {
return nullptr;
}
return mounted_storage->MapFS(uri_utf8);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment