Squashfs: fix failure to unlock pages on decompress error
authorPhillip Lougher <phillip@squashfs.org.uk>
Sun, 24 Nov 2013 00:40:49 +0000 (00:40 +0000)
committerPhillip Lougher <phillip@squashfs.org.uk>
Sun, 24 Nov 2013 01:02:50 +0000 (01:02 +0000)
Direct decompression into the page cache.  If we fall back
to using an intermediate buffer (because we cannot grab all the
page cache pages) and we get a decompress fail, we forgot to
release the pages.

Reported-by: Roman Peniaev <r.peniaev@gmail.com>
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>

No differences found