From: Alan Cox Date: Thu, 20 Dec 2012 23:05:24 +0000 (-0800) Subject: hfsplus: avoid crash on failed block map free X-Git-Tag: v3.8-rc1~12^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5daa669c80c121ab75ecdf1c8e2df52f072fd25e;p=pandora-kernel.git 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 Signed-off-by: Alan Cox Signed-off-by: Vyacheslav Dubeyko Cc: Al Viro Cc: Christoph Hellwig Cc: Jan Kara Acked-by: Hin-Tak Leung Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed