From: Matthieu Gallien Date: Wed, 3 Apr 2024 11:29:58 +0000 (+0200) Subject: do not cause implicit hydration of virtual files during sync X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~7^2~38 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=22982f4ddab971b6208154b2024bc952a25048ac;p=nextcloud-desktop.git do not cause implicit hydration of virtual files during sync Signed-off-by: Matthieu Gallien --- diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp index 86450a2a5..ccfb0c25f 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -1036,7 +1036,7 @@ void ProcessDirectoryJob::processFileAnalyzeLocalInfo( item->_status = SyncFileItem::Status::NormalError; } - { + if (item->_type != CSyncEnums::ItemTypeVirtualFile) { const auto foundEditorsKeepingFileBusy = queryEditorsKeepingFileBusy(item, path); if (!foundEditorsKeepingFileBusy.isEmpty()) { item->_instruction = CSYNC_INSTRUCTION_ERROR;