diff options
author | Phillip Lougher <phillip@squashfs.org.uk> | 2013-10-31 19:24:27 +0000 |
---|---|---|
committer | Phillip Lougher <phillip@squashfs.org.uk> | 2013-11-20 03:59:07 +0000 |
commit | 5f55dbc0c5c466a9cdfa4da7ac1bfe351c7fc52a (patch) | |
tree | dccfe66c090bfd05c75f5d6a1cc31bf138bd76b1 /fs/squashfs/Makefile | |
parent | 846b730e99518a1c9945afcb2afbe4d08a02ed80 (diff) | |
download | op-kernel-dev-5f55dbc0c5c466a9cdfa4da7ac1bfe351c7fc52a.zip op-kernel-dev-5f55dbc0c5c466a9cdfa4da7ac1bfe351c7fc52a.tar.gz |
Squashfs: Restructure squashfs_readpage()
Restructure squashfs_readpage() splitting it into separate
functions for datablocks, fragments and sparse blocks.
Move the memcpying (from squashfs cache entry) implementation of
squashfs_readpage_block into file_cache.c
This allows different implementations to be supported.
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Reviewed-by: Minchan Kim <minchan@kernel.org>
Diffstat (limited to 'fs/squashfs/Makefile')
-rw-r--r-- | fs/squashfs/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/squashfs/Makefile b/fs/squashfs/Makefile index 5833b96..e01ba11 100644 --- a/fs/squashfs/Makefile +++ b/fs/squashfs/Makefile @@ -4,7 +4,7 @@ obj-$(CONFIG_SQUASHFS) += squashfs.o squashfs-y += block.o cache.o dir.o export.o file.o fragment.o id.o inode.o -squashfs-y += namei.o super.o symlink.o decompressor.o +squashfs-y += namei.o super.o symlink.o decompressor.o file_cache.o squashfs-$(CONFIG_SQUASHFS_DECOMP_SINGLE) += decompressor_single.o squashfs-$(CONFIG_SQUASHFS_DECOMP_MULTI) += decompressor_multi.o squashfs-$(CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU) += decompressor_multi_percpu.o |