diff options
author | Alan Cox <alan@linux.intel.com> | 2012-12-21 00:05:24 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-21 02:40:19 +0100 |
commit | 5daa669c80c121ab75ecdf1c8e2df52f072fd25e (patch) | |
tree | 2b630dfed7fe5a88c1defe53dcdad10fee4d33f5 /lib | |
parent | kcmp: include linux/ptrace.h (diff) | |
download | linux-5daa669c80c121ab75ecdf1c8e2df52f072fd25e.tar.xz linux-5daa669c80c121ab75ecdf1c8e2df52f072fd25e.zip |
hfsplus: avoid crash on failed block map free
If the read fails we kmap an error code. This doesn't end well. Instead
print a critical error and pray. This mirrors the rest of the fs
behaviour with critical error cases.
Acked-by: Vyacheslav Dubeyko <slava@dubeyko.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Vyacheslav Dubeyko <slava@dubeyko.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Jan Kara <jack@suse.cz>
Acked-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions