mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 16:11:45 +00:00
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>
This commit is contained in:
parent
37f13561de
commit
1bee12b8c4
1 changed files with 1 additions and 1 deletions
|
@ -658,7 +658,7 @@ xfs_sb_quiet_read_verify(
|
|||
return;
|
||||
}
|
||||
/* quietly fail */
|
||||
xfs_buf_ioerror(bp, EFSCORRUPTED);
|
||||
xfs_buf_ioerror(bp, EWRONGFS);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue