diff options
author | Alan Cox <alan@linux.intel.com> | 2012-12-21 03:05:24 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-21 05:40:19 +0400 |
commit | 5daa669c80c121ab75ecdf1c8e2df52f072fd25e (patch) | |
tree | 2b630dfed7fe5a88c1defe53dcdad10fee4d33f5 /fs/signalfd.c | |
parent | 44fd07e989a9a27476d8963296688127a4fd4df4 (diff) | |
download | linux-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/signalfd.c')
0 files changed, 0 insertions, 0 deletions