[XFS] Don't error out on good I/Os.
xfsbdstrat() made all I/Os error out, good or bad. Fix it. SGI-PV: 980084 SGI-Modid: xfs-linux-melb:xfs-kern:30836a Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Donald Douwsma <donaldd@sgi.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
This commit is contained in:
parent
1bb7d6b5a8
commit
d4055947bd
1 changed files with 3 additions and 1 deletions
|
@ -885,8 +885,10 @@ xfsbdstrat(
|
||||||
struct xfs_buf *bp)
|
struct xfs_buf *bp)
|
||||||
{
|
{
|
||||||
ASSERT(mp);
|
ASSERT(mp);
|
||||||
if (!XFS_FORCED_SHUTDOWN(mp))
|
if (!XFS_FORCED_SHUTDOWN(mp)) {
|
||||||
xfs_buf_iorequest(bp);
|
xfs_buf_iorequest(bp);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
xfs_buftrace("XFSBDSTRAT IOERROR", bp);
|
xfs_buftrace("XFSBDSTRAT IOERROR", bp);
|
||||||
xfs_bioerror_relse(bp);
|
xfs_bioerror_relse(bp);
|
||||||
|
|
Loading…
Add table
Reference in a new issue