From bbbbd50fc7fa86424f922fc9cb0bfe2d94544f78 Mon Sep 17 00:00:00 2001
From: Antonio SJ Musumeci <trapexit@spawn.link>
Date: Sun, 4 Feb 2024 21:42:10 -0600
Subject: [PATCH] func_create_ff.cpp

---
 src/func_create_ff.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/func_create_ff.cpp b/src/func_create_ff.cpp
index fa879757..a7b14c17 100644
--- a/src/func_create_ff.cpp
+++ b/src/func_create_ff.cpp
@@ -81,6 +81,8 @@ Func::CreateFF::operator()(Branches2        &branches_,
   ugid::Set const ugid(fc->uid,fc->gid);
 
   utils::cfg_to_ffi_flags(cfg,fc->pid,ffi_);
+  if(cfg->writeback_cache)
+    utils::tweak_flags_writeback_cache(&ffi_->flags);
   
   rv = l::create(branches_,fusepath_,mode_,fc->umask,ffi_);