]> git.hungrycats.org Git - linux/commit
[PATCH] Wrong return value in hfs_fill_super
authorAndrew Morton <akpm@osdl.org>
Tue, 13 Apr 2004 02:24:35 +0000 (19:24 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 13 Apr 2004 02:24:35 +0000 (19:24 -0700)
commitc241a7a9ea1ecd46aa0434f87df3ccb4815b998f
tree452c711671bbf8f0901bf54db925bb3d1c02d73f
parent53fc8f8c8a1fd63b20bb65e9213cc0d58b4541f3
[PATCH] Wrong return value in hfs_fill_super

From: Nick Wellnhofer <wellnhofer@aevum.de>

hfs_fill_super in 2.6.5 returns -EIO instead of -EINVAL if a valid supe=
block isn't found.  So mount_block_root in init/do_mounts.c bails out before
trying to mount the root device as XFS.
fs/hfs/super.c