mirror of
https://github.com/winfsp/winfsp.git
synced 2026-10-17 01:29:53 -05:00
dll: fuse_intf: Flush implementation
This commit is contained in:
1 parent
e3ffa209eb
commit
8a5218b273
1 file changed
+2
-2
@@ -801,7 +801,7 @@ static NTSTATUS fsp_fuse_intf_Flush(FSP_FILE_SYSTEM *FileSystem,
|
||||
if (0 != f->ops.fsyncdir)
|
||||
{
|
||||
err = f->ops.fsyncdir(filedesc->PosixPath, 0, &fi);
|
||||
Result = fsp_fuse_ntstatus_from_errno(f->env, bytes);
|
||||
Result = fsp_fuse_ntstatus_from_errno(f->env, err);
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -809,7 +809,7 @@ static NTSTATUS fsp_fuse_intf_Flush(FSP_FILE_SYSTEM *FileSystem,
|
||||
if (0 != f->ops.fsync)
|
||||
{
|
||||
err = f->ops.fsync(filedesc->PosixPath, 0, &fi);
|
||||
Result = fsp_fuse_ntstatus_from_errno(f->env, bytes);
|
||||
Result = fsp_fuse_ntstatus_from_errno(f->env, err);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user