OpenCloudOS-Kernel/fs/hfsplus
Alan Cox 5daa669c80 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>
2012-12-20 17:40:19 -08:00
..
Kconfig fs/Kconfig: move hfs, hfsplus out 2009-01-22 13:15:57 +03:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bfind.c hfsplus: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
bitmap.c hfsplus: avoid crash on failed block map free 2012-12-20 17:40:19 -08:00
bnode.c hfsplus: %L-to-%ll, macro correction, and remove unneeded braces 2010-12-16 18:08:46 +01:00
brec.c hfsplus: Add additional range check to handle on-disk corruptions 2011-07-22 16:36:56 +02:00
btree.c hfsplus: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
catalog.c userns: Convert hfsplus to use kuid and kgid where appropriate 2012-09-21 03:13:12 -07:00
dir.c hfsplus: get rid of write_super 2012-07-22 23:58:04 +04:00
extents.c hfsplus: Add error propagation for hfsplus_ext_write_extent_locked 2011-07-07 17:45:46 +02:00
hfsplus_fs.h userns: Convert hfsplus to use kuid and kgid where appropriate 2012-09-21 03:13:12 -07:00
hfsplus_raw.h hfsplus: change finder_info to u32 2012-03-20 21:29:52 -04:00
inode.c userns: Convert hfsplus to use kuid and kgid where appropriate 2012-09-21 03:13:12 -07:00
ioctl.c hfsplus: fix bless ioctl when used with hardlinks 2012-06-17 14:39:59 -07:00
options.c userns: Convert hfsplus to use kuid and kgid where appropriate 2012-09-21 03:13:12 -07:00
part_tbl.c hfsplus: ensure bio requests are not smaller than the hardware sectors 2011-07-22 16:37:44 +02:00
super.c fs: push rcu_barrier() from deactivate_locked_super() to filesystems 2012-10-02 21:35:55 -04:00
tables.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
unicode.c hfsplus: assignments inside `if' condition clean-up 2011-06-30 13:40:58 +02:00
wrapper.c hfsplus: fix overflow in sector calculations in hfsplus_submit_bio 2012-06-17 14:39:45 -07:00