diff options
author | Alan Cox <alan@linux.intel.com> | 2012-12-20 15:05:24 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-20 17:40:19 -0800 |
commit | 5daa669c80c121ab75ecdf1c8e2df52f072fd25e (patch) | |
tree | 2b630dfed7fe5a88c1defe53dcdad10fee4d33f5 /fs/hfsplus/bfind.c | |
parent | 44fd07e989a9a27476d8963296688127a4fd4df4 (diff) | |
download | op-kernel-dev-5daa669c80c121ab75ecdf1c8e2df52f072fd25e.zip op-kernel-dev-5daa669c80c121ab75ecdf1c8e2df52f072fd25e.tar.gz |
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 'fs/hfsplus/bfind.c')
0 files changed, 0 insertions, 0 deletions