mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
cygfuse: fix tabs to spaces
This commit is contained in:
parent
4e891dc2a8
commit
1a4bbbe09a
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
BIN
opt/cygfuse/dist/x64/fuse-2.8-5.tar.xz
vendored
BIN
opt/cygfuse/dist/x64/fuse-2.8-5.tar.xz
vendored
Binary file not shown.
BIN
opt/cygfuse/dist/x86/fuse-2.8-5.tar.xz
vendored
BIN
opt/cygfuse/dist/x86/fuse-2.8-5.tar.xz
vendored
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user