Skip to content

Commit

Permalink
update man page and fix code style issue
Browse files Browse the repository at this point in the history
(cherry picked from commit 89a4a1b)
  • Loading branch information
bobcarroll authored and matt335672 committed Sep 27, 2024
1 parent e8e5673 commit 7bc1383
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/man/sesman.ini.5.in
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,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.
Expand Down
3 changes: 2 additions & 1 deletion sesman/chansrv/chansrv_fuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7bc1383

Please sign in to comment.