summaryrefslogtreecommitdiffstats
path: root/fs/squashfs/Makefile
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2013-10-31 20:24:27 +0100
committerPhillip Lougher <phillip@squashfs.org.uk>2013-11-20 04:59:07 +0100
commit5f55dbc0c5c466a9cdfa4da7ac1bfe351c7fc52a (patch)
treedccfe66c090bfd05c75f5d6a1cc31bf138bd76b1 /fs/squashfs/Makefile
parentSquashfs: Generalise paging handling in the decompressors (diff)
downloadlinux-5f55dbc0c5c466a9cdfa4da7ac1bfe351c7fc52a.tar.xz
linux-5f55dbc0c5c466a9cdfa4da7ac1bfe351c7fc52a.zip
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/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/squashfs/Makefile b/fs/squashfs/Makefile
index 5833b96ee69c..e01ba1126c89 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