hfsplus: hfs_bnode_find() can fail, resulting in hfs_bnode_split() breakage
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 14 Oct 2010 13:53:42 +0000 (09:53 -0400)
committerChristoph Hellwig <hch@lst.de>
Thu, 14 Oct 2010 13:53:42 +0000 (09:53 -0400)
commitb6b41424f0ec28e9a167fa29b003327860b4b71b
tree9e17a235542259f82a3a1e2c3d2a1906f2ac4749
parentee52716245877b821f5ddbb3ace85b73084fb450
hfsplus: hfs_bnode_find() can fail, resulting in hfs_bnode_split() breakage

oops and fs corruption; the latter can happen even on valid fs in case of oom.

[hch: port of commit 3d10a15d6919488204bdb264050d156ced20d9aa from hfs]

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Christoph Hellwig <hch@tuxera.com>
fs/hfsplus/brec.c