hfsplus: rework processing of hfs_btree_write() returned error
authorVyacheslav Dubeyko <[email protected]>
Thu, 20 Dec 2012 23:05:28 +0000 (15:05 -0800)
committerLinus Torvalds <[email protected]>
Fri, 21 Dec 2012 01:40:19 +0000 (17:40 -0800)
commit81cc7fad552bc9e4fa8c1f25becbecaaa1d41b67
treefc82e6cae25518901a794ad7a2dd7cb6e7252c1e
parent1b243fd39bd605cdfc482bba4e56b0cb34b28f27
hfsplus: rework processing of hfs_btree_write() returned error

Add to hfs_btree_write() a return of -EIO on failure of b-tree node
searching.  Also add logic ofor processing errors from hfs_btree_write()
in hfsplus_system_write_inode() with a message about b-tree writing
failure.

[[email protected]: reduce scope of `err', print errno on error]
Signed-off-by: Vyacheslav Dubeyko <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Al Viro <[email protected]>
Acked-by: Hin-Tak Leung <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/hfsplus/btree.c
fs/hfsplus/hfsplus_fs.h
fs/hfsplus/super.c