cramfs: propagate uncompression errors
authorDavid VomLehn <dvomlehn@cisco.com>
Thu, 2 Apr 2009 23:59:15 +0000 (16:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:05:07 +0000 (19:05 -0700)
commit98310e581e098514867573031b2bfa4ba89c0d93
treeb4eeec1516af4be7bd7f3f64dbf49f80e84b2bca
parent6e873ec71d091f52510f6aa9bc71d4732438522a
cramfs: propagate uncompression errors

Decompression errors can arise due to corruption of compressed blocks on
flash or in memory.  This patch propagates errors detected during
decompression back to the block layer.

Signed-off-by: David VomLehn <dvomlehn@cisco.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/cramfs/inode.c
fs/cramfs/uncompress.c