]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite47794ce0a297cdd0ce7bf8bbe5dd51c53279885
treedccfe66c090bfd05c75f5d6a1cc31bf138bd76b1
parent588d27aa5bd5dd62d0459398c6c82509e396504b
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>
fs/squashfs/Makefile
fs/squashfs/file.c
fs/squashfs/file_cache.c [new file with mode: 0644]
fs/squashfs/squashfs.h