mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-09-30 02:09:02 +00:00
Merge pull request #1092 from liuyongqing/master
fix coredump caused by fd_manager_lock locking
This commit is contained in:
commit
850a813171
@ -2125,7 +2125,7 @@ FdEntity* FdManager::Open(const char* path, headers_t* pmeta, off_t size, time_t
|
||||
}
|
||||
bool close = false;
|
||||
FdEntity* ent;
|
||||
{
|
||||
|
||||
AutoLock auto_lock(&FdManager::fd_manager_lock);
|
||||
|
||||
// search in mapping by key(path)
|
||||
@ -2178,7 +2178,6 @@ FdEntity* FdManager::Open(const char* path, headers_t* pmeta, off_t size, time_t
|
||||
}else{
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
// open
|
||||
if(0 != ent->Open(pmeta, size, time, no_fd_lock_wait)){
|
||||
|
Loading…
Reference in New Issue
Block a user