Squashfs: Use vmalloc rather than kmalloc for zlib workspace
commit2b086ef28939e3cd943664fc84dc54d01d261c2c
authorPhillip Lougher <phillip@lougher.demon.co.uk>
Tue, 22 Mar 2011 23:01:26 +0000 (22 23:01 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 14 Apr 2011 20:02:38 +0000 (14 13:02 -0700)
tree46880c0276fa8ecbc7d741baaf5e7f6b998d99b1
parent8f114f1414335ed352e54d0343909d7b69a81432
Squashfs: Use vmalloc rather than kmalloc for zlib workspace

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>
fs/squashfs/zlib_wrapper.c