update man page and fix code style issue

This commit is contained in:
Bob Carroll
2024-09-24 18:03:40 -07:00
parent 66e5eebb1c
commit 89a4a1b8f7
2 changed files with 8 additions and 1 deletions
+6
View File
@@ -354,6 +354,12 @@ the user).
drive. To fix this, consult the docs for your chosen desktop.
.RE
.TP
\fBFuseDirectIO\fR=\fI[false|true]\fR
Defaults to \fIfalse\fR. Set to \fItrue\fR to disable page caching in
FUSE when opening files on a redirected drive. Direct I/O can impact
the performance of file operations.
.TP
\fBFileUmask\fR=\fImode\fR
Additional umask to apply to files in the \fBFuseMountName\fR directory.
+2 -1
View File
@@ -2200,7 +2200,8 @@ static void xfuse_cb_open(fuse_req_t req, fuse_ino_t ino,
fip->fi = *fi;
fip->inum = ino;
if (g_cfg->fuse_direct_io) {
if (g_cfg->fuse_direct_io)
{
fip->fi.direct_io = 1;
}