]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ac3f42548ebdadc27b9d0997d16bf02e3b31115
tree3a78d8661a686a5b3b210e702486706960da9e01
parent5363c25059f6e54ad2f92ec2ed6a8d82b00ec915
xfs: Do not return EFSCORRUPTED when filesystem probe finds no XFS magic

4737e94 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