mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #1693] [MERGED] Fixed a bug in s3fs_write #2119
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#2119
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/1693
Author: @ggtakec
Created: 6/20/2021
Status: ✅ Merged
Merged: 6/20/2021
Merged by: @gaul
Base:
master← Head:fix_write_func📝 Commits (1)
ef06081Fixed a bug in s3fs_write📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/s3fs.cpp(+1 -1)📄 Description
Relevant Issue (if applicable)
#1675
Details
AutoFdEntity::GetExistFdEntity() is a method that does not set the internal pseudo_fd.
However, in s3fs_write(), there was a part that used AutoFdEntity::GetPseudoFd() after calling the above method.
Originally, it should have used
fuse_file_info* fi-> fhinstead of calling GetPseudoFd().🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.