Commit cc5d6d91 authored by Phoebe Buckheister's avatar Phoebe Buckheister 🦎

Merge branch 'v6-dont-queue-modsync-failed-open' into 'v6'

meta: don't queue modsync event for failed open(.., O_CREAT | O_EXCL)

See merge request !199
parents b914a864 288f4167
......@@ -861,7 +861,7 @@ FhgfsOpsErr DirEntry::storeInitialDirEntry(const std::string& dirEntryPath)
std::string namePath = dirEntryPath + '/' + this->name;
FhgfsOpsErr result = this->storeInitialDirEntryName(logContext, idPath, namePath, isDir);
if (getIsBuddyMirrored())
if (result == FhgfsOpsErr_SUCCESS && getIsBuddyMirrored())
if (auto* resync = BuddyResyncer::getSyncChangeset())
{
if (!isDir)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment