summaryrefslogtreecommitdiff
path: root/fs/btrfs
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-12-21 03:05:24 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-21 05:40:19 +0400
commit5daa669c80c121ab75ecdf1c8e2df52f072fd25e (patch)
tree2b630dfed7fe5a88c1defe53dcdad10fee4d33f5 /fs/btrfs
parent44fd07e989a9a27476d8963296688127a4fd4df4 (diff)
downloadlinux-5daa669c80c121ab75ecdf1c8e2df52f072fd25e.tar.xz
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/btrfs')
0 files changed, 0 insertions, 0 deletions