Skip to content

Commit 7064ff0

Browse files
committed
fix: also use authoritative mount info for setupForProvider
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent f5d7a44 commit 7064ff0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

lib/private/Files/SetupManager.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,8 +687,13 @@ public function setupForProvider(string $path, array $providers): void {
687687
}
688688

689689
if (!$providersAreAuthoritative && $this->fullSetupRequired($user)) {
690-
$this->setupForUser($user);
691-
return;
690+
if ($this->optimizeAuthoritativeProviders) {
691+
$this->updateNonAuthoritativeProviders($user);
692+
$this->markUserMountsCached($user);
693+
} else {
694+
$this->setupForUser($user);
695+
return;
696+
}
692697
}
693698

694699
$this->eventLogger->start('fs:setup:user:providers', 'Setup filesystem for ' . implode(', ', $providers));

0 commit comments

Comments
 (0)