diff options
| author | Phillip Lougher <phillip@squashfs.org.uk> | 2013-10-31 19:24:27 +0000 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 11:00:17 +0200 |
| commit | 54a1dfcbe9a06d970e233aff4313cac219ea8dbf (patch) | |
| tree | 4149d1b5afb6b4b45b95408093aed1f4e5fb4e63 /fs/squashfs/Makefile | |
| parent | dd5f81e530111efc741be0e7207a3dfc4c96e7d2 (diff) | |
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>
Change-Id: Ic915501b91711e56ea3231ba0bf6a6e1429dfd2a
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 5833b96ee..e01ba1126 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 |
