diff options
author | Michael Scherle | 2022-09-13 17:25:33 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-05-13 18:26:36 +0200 |
commit | 4e6ef06945c74198c918c1711c82c84a83ddb870 (patch) | |
tree | f687ae516639d9f36c9a3540cfdbd3159c6a16f9 /src/fuse/main.c | |
parent | github: removed rpm from test workflow (diff) | |
download | dnbd3-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.c | 5 |
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 { |