mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	Comment the lack of real_LZ4_uncompress()
Added several comments regarding the removal of real_LZ4_uncompress() which exists in the reference implementation but has been removed here since it's not used. Signed-off-by: Richard Yao <ryao@gentoo.org> Signed-off-by: Tim Chase <tim@chase2k.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
		
							parent
							
								
									d4aae2a054
								
							
						
					
					
						commit
						4240dc332d
					
				| @ -115,6 +115,8 @@ lz4_decompress_zfs(void *s_start, void *d_start, size_t s_len, | ||||
|  * 		writes beyond dest + osize, and is therefore protected | ||||
|  * 		against malicious data packets. | ||||
|  * 	note : destination buffer must be already allocated | ||||
|  *	note : real_LZ4_uncompress() is not used in ZFS so its code | ||||
|  *	       is not present here. | ||||
|  * | ||||
|  * Advanced Functions | ||||
|  * | ||||
| @ -866,6 +868,9 @@ real_LZ4_compress(const char *source, char *dest, int isize, int osize) | ||||
|  *	it will never read outside of the input buffer. A corrupted input | ||||
|  *	will produce an error result, a negative int, indicating the position | ||||
|  *	of the error within input stream. | ||||
|  * | ||||
|  * Note[2]: real_LZ4_uncompress(), referred to above, is not used in ZFS so | ||||
|  *	its code is not present here. | ||||
|  */ | ||||
| 
 | ||||
| static int | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Tim Chase
						Tim Chase