From: Christoph Hellwig Date: Wed, 2 Feb 2011 16:32:39 +0000 (-0700) Subject: hfsplus: fix failed mount handling X-Git-Tag: v2.6.38-rc4~19^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5b8d0bce052949e173b5b32f96bd59bceaa2ab0;p=pandora-kernel.git hfsplus: fix failed mount handling Currently the error handling in hfsplus_fill_super is a mess, and can lead to accessing fields in the superblock that haven't been even set up yet. Fix this by making sure we do not set up sb->s_root until we have the mount fully set up, and before that do proper step by step unwinding instead of using hfsplus_put_super as a big hammer. Reported-by: Dan Williams Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed