From d4ce9fce9130d3db9e9fba3f351f06bfc6980bf2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 31 Aug 2016 19:03:48 +0200 Subject: [PATCH] enhance filesystem check to also check fs_id of required nodes /, /home, /apps --- api/src/Vfs/Sqlfs/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Vfs/Sqlfs/Utils.php b/api/src/Vfs/Sqlfs/Utils.php index 0e3f82f209..63c9315caa 100644 --- a/api/src/Vfs/Sqlfs/Utils.php +++ b/api/src/Vfs/Sqlfs/Utils.php @@ -153,7 +153,7 @@ class Utils extends StreamWrapper $sqlfs = new StreamWrapper(); foreach($dirs as $path => $id) { - if (!($stat = $sqlfs->url_stat($path, STREAM_URL_STAT_LINK))) + if (!($stat = $sqlfs->url_stat($path, STREAM_URL_STAT_LINK)) || $stat['ino'] != $id) { if ($check_only) {