Re: [PATCH 02/10] xfs: remove some dead bio handling code

Dave Chinner
2010-12-01T04:00:50Z

On Mon, Nov 22, 2010 at 08:05:08AM -0500, Christoph Hellwig wrote:
> We'll never have BIO_EOPNOTSUPP set after calling submit_bio as
> this can only happen for discards, and used to happen for barriers,
> none of which is every submitted by xfs_submit_ioend_bio. Also
> remove the loop around bio_alloc as it will never fail due to it's
> mempool backing.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Reviewed-by: Dave Chinner <dchinner@redhat.com>
--
Dave Chinner
david@fromorbit.com