diff --git a/lib/private/files/cache/watcher.php b/lib/private/files/cache/watcher.php
index b43091985cc5918e1b18306e074e11327280ce89..e660e56bfeebd6f5e00f596ce8e97ee6d9d77429 100644
--- a/lib/private/files/cache/watcher.php
+++ b/lib/private/files/cache/watcher.php
@@ -119,6 +119,7 @@ class Watcher {
 	 */
 	public function needsUpdate($path, $cachedData) {
 		if ($this->watchPolicy === self::CHECK_ALWAYS or ($this->watchPolicy === self::CHECK_ONCE and array_search($path, $this->checkedPaths) === false)) {
+			$this->checkedPaths[] = $path;
 			return $this->storage->hasUpdated($path, $cachedData['storage_mtime']);
 		}
 		return false;