summaryrefslogtreecommitdiff
path: root/fs/hfsplus/part_tbl.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@tuxera.com>2011-02-02 16:32:39 (GMT)
committerChristoph Hellwig <hch@tuxera.com>2011-02-03 23:33:51 (GMT)
commitc5b8d0bce052949e173b5b32f96bd59bceaa2ab0 (patch)
tree5b99f48ad948c351ae07650c44009d847460329a /fs/hfsplus/part_tbl.c
parentebf53826e105f488f4f628703a108e98940d1dc5 (diff)
downloadlinux-fsl-qoriq-c5b8d0bce052949e173b5b32f96bd59bceaa2ab0.tar.xz
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 <dcbw@redhat.com> Signed-off-by: Christoph Hellwig <hch@tuxera.com>
Diffstat (limited to 'fs/hfsplus/part_tbl.c')
0 files changed, 0 insertions, 0 deletions