summaryrefslogtreecommitdiff
path: root/fs/squashfs/file_cache.c
AgeCommit message (Collapse)AuthorFilesLines
2013-11-20Squashfs: Restructure squashfs_readpage()Phillip Lougher1-0/+38
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>