mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #2541] [MERGED] Use std::shared_ptr to refer to FdEntity #2606
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2606
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2541
Author: @gaul
Created: 10/12/2024
Status: ✅ Merged
Merged: 10/20/2024
Merged by: @ggtakec
Base:
master← Head:shared_ptr📝 Commits (1)
c978c2bUse std::shared_ptr to refer to FdEntity📊 Changes
4 files changed (+13 additions, -12 deletions)
View changed files
📝
src/fdcache.cpp(+6 -6)📝
src/fdcache.h(+2 -2)📝
src/fdcache_entity.cpp(+1 -1)📝
src/fdcache_entity.h(+4 -3)📄 Description
FdEntitymay have multiple references due toChangeEntityToTempPath. This relies on thestd::enable_shared_from_thishelper to create astd::shared_ptrfromthis. Fixes #2532.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.