You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
zisofs: Implement reading of compressed files when PAGE_CACHE_SIZE > compress block size
Also split and cleanup zisofs_readpage() when we are changing it anyway. Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
+290
-253
File diff suppressed because it is too large
Load Diff
+1
-2
@@ -518,8 +518,7 @@ repeat:
|
||||
if (algo == SIG('p', 'z')) {
|
||||
int block_shift =
|
||||
isonum_711(&rr->u.ZF.parms[1]);
|
||||
if (block_shift < PAGE_CACHE_SHIFT
|
||||
|| block_shift > 17) {
|
||||
if (block_shift > 17) {
|
||||
printk(KERN_WARNING "isofs: "
|
||||
"Can't handle ZF block "
|
||||
"size of 2^%d\n",
|
||||
|
||||
Reference in New Issue
Block a user