summaryrefslogtreecommitdiff
path: root/fs/squashfs/cache.c
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2013-11-24 00:40:49 +0000
committerPhillip Lougher <phillip@squashfs.org.uk>2013-11-24 01:02:50 +0000
commit6d565409503f4e1f74ac30de14e8c91a2b826cd8 (patch)
tree733a81c4b0b7cdcbdda144a0a4e0909469b75116 /fs/squashfs/cache.c
parented4f381ec15e5f11724cdbc68cffd2c22d1eaebd (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>
Diffstat (limited to 'fs/squashfs/cache.c')
0 files changed, 0 insertions, 0 deletions