xfs: Do not return EFSCORRUPTED when filesystem probe finds no XFS magic
authorEric Sandeen <sandeen@redhat.com>
Wed, 16 Jan 2013 23:33:53 +0000 (17:33 -0600)
committerBen Myers <bpm@sgi.com>
Wed, 16 Jan 2013 23:33:53 +0000 (17:33 -0600)
commitaeb4f20a02b4c984c48995ad54f40caf5ffa0705
tree3a78d8661a686a5b3b210e702486706960da9e01
parenta17164e54bf0e3c2cbc72c35b9f67c2873a122dd
xfs: Do not return EFSCORRUPTED when filesystem probe finds no XFS magic

9802182 changed the return value from EWRONGFS (aka EINVAL)
to EFSCORRUPTED which doesn't seem to be handled properly by
the root filesystem probe.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Tested-by: Sergei Trofimovich <slyfox@gentoo.org>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_mount.c