mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-29 19:18:39 -05:00 
			
		
		
		
	dll: fuse_intf: Flush implementation
This commit is contained in:
		| @@ -801,7 +801,7 @@ static NTSTATUS fsp_fuse_intf_Flush(FSP_FILE_SYSTEM *FileSystem, | |||||||
|         if (0 != f->ops.fsyncdir) |         if (0 != f->ops.fsyncdir) | ||||||
|         { |         { | ||||||
|             err = f->ops.fsyncdir(filedesc->PosixPath, 0, &fi); |             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 |     else | ||||||
| @@ -809,7 +809,7 @@ static NTSTATUS fsp_fuse_intf_Flush(FSP_FILE_SYSTEM *FileSystem, | |||||||
|         if (0 != f->ops.fsync) |         if (0 != f->ops.fsync) | ||||||
|         { |         { | ||||||
|             err = f->ops.fsync(filedesc->PosixPath, 0, &fi); |             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