From 113749bd96811312ef390d0e760e6206bba90e46 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Wed, 25 Jun 2014 13:00:11 +0200
Subject: [PATCH] really always take root of the substorage

---
 lib/private/files/view.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index 51eefb9dac..ff3cb9ee68 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -885,7 +885,7 @@ class View {
 								continue;
 							}
 							$subCache = $subStorage->getCache('');
-							$rootEntry = $subCache->get($internalPath);
+							$rootEntry = $subCache->get('');
 							$data['size'] += isset($rootEntry['size']) ? $rootEntry['size'] : 0;
 						}
 					}
-- 
GitLab