mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-31 03:58:38 -05:00 
			
		
		
		
	dll: fuse: minor fix
This commit is contained in:
		| @@ -285,10 +285,10 @@ static NTSTATUS fsp_fuse_svcstart(FSP_SERVICE *Service, ULONG argc, PWSTR *argv) | ||||
|         if (0 != err) | ||||
|             goto fail; | ||||
|  | ||||
|         if (stbuf.f_bsize > FSP_FUSE_SECTORSIZE_MAX) | ||||
|             stbuf.f_bsize = FSP_FUSE_SECTORSIZE_MAX; | ||||
|         if (stbuf.f_frsize > FSP_FUSE_SECTORSIZE_MAX) | ||||
|             stbuf.f_frsize = FSP_FUSE_SECTORSIZE_MAX; | ||||
|         if (0 == f->VolumeParams.SectorSize) | ||||
|             f->VolumeParams.SectorSize = (UINT16)stbuf.f_bsize; | ||||
|             f->VolumeParams.SectorSize = (UINT16)stbuf.f_frsize; | ||||
|         if (0 == f->VolumeParams.MaxComponentLength) | ||||
|             f->VolumeParams.MaxComponentLength = (UINT16)stbuf.f_namemax; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user