mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-23 09:18:55 +00:00
commit
1e7330e499
@ -425,7 +425,7 @@ void free_mvnodes(MVNODE *head)
|
|||||||
//-------------------------------------------------------------------
|
//-------------------------------------------------------------------
|
||||||
// Class AutoLock
|
// Class AutoLock
|
||||||
//-------------------------------------------------------------------
|
//-------------------------------------------------------------------
|
||||||
AutoLock::AutoLock(pthread_mutex_t* pmutex, Type type) : auto_mutex(pmutex), type(type)
|
AutoLock::AutoLock(pthread_mutex_t* pmutex, Type type) : auto_mutex(pmutex)
|
||||||
{
|
{
|
||||||
if (type == ALREADY_LOCKED) {
|
if (type == ALREADY_LOCKED) {
|
||||||
is_lock_acquired = false;
|
is_lock_acquired = false;
|
||||||
|
@ -99,7 +99,6 @@ class AutoLock
|
|||||||
private:
|
private:
|
||||||
pthread_mutex_t* const auto_mutex;
|
pthread_mutex_t* const auto_mutex;
|
||||||
bool is_lock_acquired;
|
bool is_lock_acquired;
|
||||||
const Type type;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//-------------------------------------------------------------------
|
//-------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user