mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
dll: fuse_intf: Flush implementation
This commit is contained in:
parent
e3ffa209eb
commit
8a5218b273
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user