diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php
index 0daa863e79d94eb37fafe7b0d73aeffdb97cf9da..a7b1da57c1a945c4827a1204b478ddc87ee105db 100644
--- a/lib/files/filesystem.php
+++ b/lib/files/filesystem.php
@@ -146,7 +146,7 @@ class Filesystem {
 	/**
 	 * @var \OC\Files\Storage\Loader $loader
 	 */
-	private static $loader;
+	public static $loader;
 
 	/**
 	 * get the mountpoint of the storage object for a path