[PR #2582] [MERGED] Fixed a bug when changing fdentity to a temporary path #2642

Closed
opened 2026-03-04 02:06:34 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2582
Author: @ggtakec
Created: 10/30/2024
Status: Merged
Merged: 5/21/2025
Merged by: @gaul

Base: masterHead: fix/change_fentity_map


📝 Commits (1)

  • 9639c84 Fixed a bug when changing fdentity to a temporary path

📊 Changes

1 file changed (+17 additions, -0 deletions)

View changed files

📝 src/fdcache.cpp (+17 -0)

📄 Description

Relevant Issue (if applicable)

#2532

Details

If the path element does not exist in fent, it may be because a cache directory has not been specified, or FdEntity::NoCacheLoadAndPost has already been called.
In these cases, the path element(=ent) has already been registered as a TempPath element from fent, so there is no need to register ent in the except_fent map.
(Processing with UpdateEntityToTempPath should not be performed.)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/2582 **Author:** [@ggtakec](https://github.com/ggtakec) **Created:** 10/30/2024 **Status:** ✅ Merged **Merged:** 5/21/2025 **Merged by:** [@gaul](https://github.com/gaul) **Base:** `master` ← **Head:** `fix/change_fentity_map` --- ### 📝 Commits (1) - [`9639c84`](https://github.com/s3fs-fuse/s3fs-fuse/commit/9639c84894dbcb5cfd91c591bc38e54ac566bcab) Fixed a bug when changing fdentity to a temporary path ### 📊 Changes **1 file changed** (+17 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/fdcache.cpp` (+17 -0) </details> ### 📄 Description ### Relevant Issue (if applicable) #2532 ### Details If the path element does not exist in fent, it may be because a cache directory has not been specified, or FdEntity::NoCacheLoadAndPost has already been called. In these cases, the path element(=ent) has already been registered as a TempPath element from fent, so there is no need to register ent in the except_fent map. (Processing with UpdateEntityToTempPath should not be performed.) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:06:34 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2642
No description provided.