dll: fuse_intf: Flush implementation

This commit is contained in:
Bill Zissimopoulos 2016-06-10 23:54:25 -07:00
parent e3ffa209eb
commit 8a5218b273

View File

@ -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);
}
}