]> 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>
Mon, 28 Jan 2013 18:48:21 +0000 (12:48 -0600)
commitddc5764c3f1f5afb036824d7515a1e3a60e56d54
tree8e5af013bb6931a2a6a150794180ad16d771c619
parent82343e76e0289be7aa16b48d3ce4b6f8a906496a
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