diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index e36124546d0dbad03eab8d807597de8dbbabab11..c1f7c0d5d608a3e80825893505820e28661b343c 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c @@ -1506,8 +1506,7 @@ __xfs_buf_submit( xfs_buf_ioerror(bp, -EIO); bp->b_flags &= ~XBF_DONE; xfs_buf_stale(bp); - if (bp->b_flags & XBF_ASYNC) - xfs_buf_ioend(bp); + xfs_buf_ioend(bp); return -EIO; }