diff options
author | Jan Kara <jack@suse.cz> | 2009-09-23 08:44:56 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2009-12-10 09:02:49 -0500 |
commit | 59bc055211b8d266ab6089158058bf8268e02006 (patch) | |
tree | 3c041c412fd798d321cae2550da2bce7c363eabf /fs/isofs/rock.c | |
parent | 3067e02f8f3ae2f3f02ba76400d03b8bcb4942b0 (diff) |
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>
Diffstat (limited to 'fs/isofs/rock.c')
-rw-r--r-- | fs/isofs/rock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/isofs/rock.c b/fs/isofs/rock.c index c2fb2dd0131f..96a685c550fd 100644 --- a/fs/isofs/rock.c +++ b/fs/isofs/rock.c | |||
@@ -518,8 +518,7 @@ repeat: | |||
518 | if (algo == SIG('p', 'z')) { | 518 | if (algo == SIG('p', 'z')) { |
519 | int block_shift = | 519 | int block_shift = |
520 | isonum_711(&rr->u.ZF.parms[1]); | 520 | isonum_711(&rr->u.ZF.parms[1]); |
521 | if (block_shift < PAGE_CACHE_SHIFT | 521 | if (block_shift > 17) { |
522 | || block_shift > 17) { | ||
523 | printk(KERN_WARNING "isofs: " | 522 | printk(KERN_WARNING "isofs: " |
524 | "Can't handle ZF block " | 523 | "Can't handle ZF block " |
525 | "size of 2^%d\n", | 524 | "size of 2^%d\n", |