cygfuse: fix tabs to spaces

This commit is contained in:
Bill Zissimopoulos 2017-05-17 15:19:36 -07:00
parent 4e891dc2a8
commit 1a4bbbe09a
3 changed files with 6 additions and 6 deletions

View File

@ -33,23 +33,23 @@ static inline void *cygfuse_init_fast(void)
void *handle = cygfuse_handle; void *handle = cygfuse_handle;
__sync_synchronize(); /* memory barrier */ __sync_synchronize(); /* memory barrier */
if (0 == handle) if (0 == handle)
handle = cygfuse_init_slow(0); handle = cygfuse_init_slow(0);
return handle; return handle;
} }
static void *cygfuse_init_slow(int force) static void *cygfuse_init_slow(int force)
{ {
void *handle; void *handle;
pthread_mutex_lock(&cygfuse_mutex); pthread_mutex_lock(&cygfuse_mutex);
handle = cygfuse_handle; handle = cygfuse_handle;
if (force || 0 == handle) if (force || 0 == handle)
{ {
handle = cygfuse_init_winfsp(); handle = cygfuse_init_winfsp();
__sync_synchronize(); /* memory barrier */ __sync_synchronize(); /* memory barrier */
cygfuse_handle = handle; cygfuse_handle = handle;
} }
pthread_mutex_unlock(&cygfuse_mutex); pthread_mutex_unlock(&cygfuse_mutex);
return handle; return handle;
} }
/* /*

Binary file not shown.

Binary file not shown.