summaryrefslogtreecommitdiffstats
path: root/src/fuse/main.c
diff options
context:
space:
mode:
authorMichael Scherle2022-09-13 17:25:33 +0200
committerSimon Rettberg2024-05-13 18:26:36 +0200
commit4e6ef06945c74198c918c1711c82c84a83ddb870 (patch)
treef687ae516639d9f36c9a3540cfdbd3159c6a16f9 /src/fuse/main.c
parentgithub: removed rpm from test workflow (diff)
downloaddnbd3-4e6ef06945c74198c918c1711c82c84a83ddb870.tar.gz
dnbd3-4e6ef06945c74198c918c1711c82c84a83ddb870.tar.xz
dnbd3-4e6ef06945c74198c918c1711c82c84a83ddb870.zip
[FUSE] Fixed cow daemon issue
Diffstat (limited to 'src/fuse/main.c')
-rw-r--r--src/fuse/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fuse/main.c b/src/fuse/main.c
index 1ae6d33..6e7977c 100644
--- a/src/fuse/main.c
+++ b/src/fuse/main.c
@@ -580,6 +580,11 @@ int main( int argc, char *argv[] )
} else {
fuse_session_add_chan( _fuseSession, ch );
fuse_daemonize( foreground );
+ if ( useCow ) {
+ if ( !cowfile_startBackgroundThreads() ){
+ logadd( LOG_ERROR, "Could not start cow background Threads" );
+ }
+ }
if ( single_thread ) {
fuse_err = fuse_session_loop( _fuseSession );
} else {