mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-23 01:08:54 +00:00
Merged the code corresponding to the mknod fix(f11eb7d
)
This commit is contained in:
parent
6ca7d5ec27
commit
faddb4900f
@ -1847,7 +1847,7 @@ int FdEntity::RowFlushStreamMultipart(PseudoFdInfo* pseudo_obj, const char* tpat
|
||||
}
|
||||
|
||||
// Clear the dirty flag, because the meta data is updated.
|
||||
is_meta_pending = false;
|
||||
pending_status = NO_UPDATE_PENDING;
|
||||
}
|
||||
|
||||
//
|
||||
@ -1900,8 +1900,8 @@ int FdEntity::RowFlushStreamMultipart(PseudoFdInfo* pseudo_obj, const char* tpat
|
||||
pseudo_obj->ClearUntreated();
|
||||
pseudo_obj->ClearUploadInfo(); // clear multipart upload info
|
||||
|
||||
// put pending headers
|
||||
if(0 != (result = UploadPendingMeta())){
|
||||
// put pending headers or create new file
|
||||
if(0 != (result = UploadPending(-1))){
|
||||
return result;
|
||||
}
|
||||
}
|
||||
@ -2335,7 +2335,7 @@ ssize_t FdEntity::WriteStreamUpload(PseudoFdInfo* pseudo_obj, const char* bytes,
|
||||
|
||||
if(!isuploading && pseudo_obj->IsUploading()){
|
||||
// Clear the dirty flag, because the meta data is updated.
|
||||
is_meta_pending = false;
|
||||
pending_status = NO_UPDATE_PENDING;
|
||||
}
|
||||
|
||||
return wsize;
|
||||
|
Loading…
Reference in New Issue
Block a user