[PR #975] [MERGED] Fixed ref-count when error occurred. #1737

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/975
Author: @ggtakec
Created: 3/10/2019
Status: Merged
Merged: 3/10/2019
Merged by: @ggtakec

Base: masterHead: master


📝 Commits (1)

  • 62dcda6 Fixed ref-count when error occurred.

📊 Changes

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

View changed files

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

📄 Description

Relevant Issue (if applicable)

#967

Details

Apart from the fix in #967 , there was a part requiring subtraction of ref-count.
If an error occurs in Open processing, it is incremented before the error, so it is decremented.


🔄 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/975 **Author:** [@ggtakec](https://github.com/ggtakec) **Created:** 3/10/2019 **Status:** ✅ Merged **Merged:** 3/10/2019 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`62dcda6`](https://github.com/s3fs-fuse/s3fs-fuse/commit/62dcda6a560a6dbf25aa6db4c91f03864f323417) Fixed ref-count when error occurred. ### 📊 Changes **1 file changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/fdcache.cpp` (+9 -0) </details> ### 📄 Description ### Relevant Issue (if applicable) #967 ### Details Apart from the fix in #967 , there was a part requiring subtraction of ref-count. If an error occurs in Open processing, it is incremented before the error, so it is decremented. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:01:55 +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#1737
No description provided.