Squashfs: Restructure squashfs_readpage()
authorPhillip Lougher <phillip@squashfs.org.uk>
Thu, 31 Oct 2013 19:24:27 +0000 (19:24 +0000)
committerPhillip Lougher <phillip@squashfs.org.uk>
Wed, 20 Nov 2013 03:59:07 +0000 (03:59 +0000)
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>

No differences found