summaryrefslogtreecommitdiffstats
path: root/lib/private/files/view.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files/view.php')
-rw-r--r--lib/private/files/view.php16
1 files changed, 14 insertions, 2 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index 9540a2e2a9c..166989ed77a 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -1639,14 +1639,26 @@ class View {
private function lockPath($path, $type) {
$mount = $this->getMount($path);
if ($mount) {
- $mount->getStorage()->acquireLock($mount->getInternalPath($this->getAbsolutePath($path)), $type, $this->lockingProvider);
+ $mount->getStorage()->acquireLock(
+ $mount->getInternalPath(
+ $this->getAbsolutePath($path)
+ ),
+ $type,
+ $this->lockingProvider
+ );
}
}
private function unlockPath($path, $type) {
$mount = $this->getMount($path);
if ($mount) {
- $mount->getStorage()->releaseLock($mount->getInternalPath($this->getAbsolutePath($path)), $type, $this->lockingProvider);
+ $mount->getStorage()->releaseLock(
+ $mount->getInternalPath(
+ $this->getAbsolutePath($path)
+ ),
+ $type,
+ $this->lockingProvider
+ );
}
}