diff options
author | Jan Kara <jack@suse.cz> | 2009-09-23 14:44:56 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2009-12-10 15:02:49 +0100 |
commit | 59bc055211b8d266ab6089158058bf8268e02006 (patch) | |
tree | 3c041c412fd798d321cae2550da2bce7c363eabf /fs/isofs/rock.c | |
parent | 3067e02f8f3ae2f3f02ba76400d03b8bcb4942b0 (diff) | |
download | op-kernel-dev-59bc055211b8d266ab6089158058bf8268e02006.zip op-kernel-dev-59bc055211b8d266ab6089158058bf8268e02006.tar.gz |
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 c2fb2dd..96a685c 100644 --- a/fs/isofs/rock.c +++ b/fs/isofs/rock.c @@ -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", |