commit | 6d565409503f4e1f74ac30de14e8c91a2b826cd8 | [log] [tgz] |
---|---|---|
author | Phillip Lougher <phillip@squashfs.org.uk> | Sun Nov 24 00:40:49 2013 +0000 |
committer | Phillip Lougher <phillip@squashfs.org.uk> | Sun Nov 24 01:02:50 2013 +0000 |
tree | 733a81c4b0b7cdcbdda144a0a4e0909469b75116 | |
parent | ed4f381ec15e5f11724cdbc68cffd2c22d1eaebd [diff] |
Squashfs: fix failure to unlock pages on decompress error 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>