mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-30 19:48:38 -05:00 
			
		
		
		
	sys: FileHardLinkInformation,FileLinkInformation: return STATUS_NOT_SUPPORTED
This commit is contained in:
		| @@ -671,7 +671,7 @@ static NTSTATUS FspFsvolQueryInformation( | |||||||
|         Irp->IoStatus.Information = (UINT_PTR)((PUINT8)Buffer - (PUINT8)Irp->AssociatedIrp.SystemBuffer); |         Irp->IoStatus.Information = (UINT_PTR)((PUINT8)Buffer - (PUINT8)Irp->AssociatedIrp.SystemBuffer); | ||||||
|         return Result; |         return Result; | ||||||
|     case FileHardLinkInformation: |     case FileHardLinkInformation: | ||||||
|         Result = STATUS_INVALID_PARAMETER;  /* no hard link support */ |         Result = STATUS_NOT_SUPPORTED;  /* no hard link support */ | ||||||
|         return Result; |         return Result; | ||||||
|     case FileInternalInformation: |     case FileInternalInformation: | ||||||
|         Result = FspFsvolQueryInternalInformation(FileObject, &Buffer, BufferEnd); |         Result = FspFsvolQueryInternalInformation(FileObject, &Buffer, BufferEnd); | ||||||
| @@ -1460,7 +1460,7 @@ static NTSTATUS FspFsvolSetInformation( | |||||||
|             Result = FspFsvolSetEndOfFileInformation(FileObject, Buffer, Length, 0, 0); |             Result = FspFsvolSetEndOfFileInformation(FileObject, Buffer, Length, 0, 0); | ||||||
|         break; |         break; | ||||||
|     case FileLinkInformation: |     case FileLinkInformation: | ||||||
|         Result = STATUS_INVALID_PARAMETER;  /* no hard link support */ |         Result = STATUS_NOT_SUPPORTED;  /* no hard link support */ | ||||||
|         return Result; |         return Result; | ||||||
|     case FilePositionInformation: |     case FilePositionInformation: | ||||||
|         Result = FspFsvolSetPositionInformation(FileObject, Buffer, Length); |         Result = FspFsvolSetPositionInformation(FileObject, Buffer, Length); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user