projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'work.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.git]
/
fs
/
squashfs
/
block.c
diff --git
a/fs/squashfs/block.c
b/fs/squashfs/block.c
index
b9e87eb
..
855f0e8
100644
(file)
--- a/
fs/squashfs/block.c
+++ b/
fs/squashfs/block.c
@@
-226,8
+226,11
@@
out_free_bio:
bio_free_pages(bio);
bio_put(bio);
out:
- if (res < 0)
+ if (res < 0)
{
ERROR("Failed to read block 0x%llx: %d\n", index, res);
+ if (msblk->panic_on_errors)
+ panic("squashfs read failed");
+ }
return res;
}