aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6
diff options
context:
space:
mode:
authorDavid Chinner <dgc@sgi.com>2008-04-17 02:49:35 -0400
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-04-17 22:02:41 -0400
commitd4055947bd0913864f4d8ac96bf1197338071622 (patch)
tree260f91444acd5cc81999b08ba32dd40be4a078c0 /fs/xfs/linux-2.6
parent1bb7d6b5a82f1d9487fd44415484a368f7c87bed (diff)
[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>
Diffstat (limited to 'fs/xfs/linux-2.6')
-rw-r--r--fs/xfs/linux-2.6/xfs_lrw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_lrw.c b/fs/xfs/linux-2.6/xfs_lrw.c
index f6dab5d8944e..21c0dbc74093 100644
--- a/fs/xfs/linux-2.6/xfs_lrw.c
+++ b/fs/xfs/linux-2.6/xfs_lrw.c
@@ -885,8 +885,10 @@ xfsbdstrat(
885 struct xfs_buf *bp) 885 struct xfs_buf *bp)
886{ 886{
887 ASSERT(mp); 887 ASSERT(mp);
888 if (!XFS_FORCED_SHUTDOWN(mp)) 888 if (!XFS_FORCED_SHUTDOWN(mp)) {
889 xfs_buf_iorequest(bp); 889 xfs_buf_iorequest(bp);
890 return;
891 }
890 892
891 xfs_buftrace("XFSBDSTRAT IOERROR", bp); 893 xfs_buftrace("XFSBDSTRAT IOERROR", bp);
892 xfs_bioerror_relse(bp); 894 xfs_bioerror_relse(bp);