Squashfs: Use vmalloc rather than kmalloc for zlib workspace
authorPhillip Lougher <phillip@lougher.demon.co.uk>
Tue, 22 Mar 2011 23:01:26 +0000 (23:01 +0000)
committerBrad Figg <brad.figg@canonical.com>
Wed, 27 Apr 2011 18:41:33 +0000 (11:41 -0700)
commit5dee1cf1757d005e467d4956a081c86a1f675a62
tree5ccd842af95f81c12699ec1e9c1510e21089caa7
parent757763c0e7dc31e29fff70f25db474166e374b73
Squashfs: Use vmalloc rather than kmalloc for zlib workspace

BugLink: http://bugs.launchpad.net/bugs/761134

commit 117a91e0f25fd7698e20ac3dfa62086be3dc82a3 upstream.

Bugzilla bug 31422 reports occasional "page allocation failure. order:4"
at Squashfs mount time.  Fix this by making zlib workspace allocation
use vmalloc rather than kmalloc.

Reported-by: Mehmet Giritli <mehmet@giritli.eu>
Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
fs/squashfs/zlib_wrapper.c