commit | 221cb2517e8fc9a1d67c7a8a9c19fc5a916b583f | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Fri Dec 10 08:42:17 2010 +0000 |
committer | Alex Elder <aelder@sgi.com> | Thu Dec 16 16:05:40 2010 -0600 |
tree | 891f7a8f1063f862a8c4d76882a0606191813fca | |
parent | 85da94c6b4666582c38579ccdcd90a5d9b5697ef [diff] |
xfs: remove some dead bio handling code 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> Signed-off-by: Alex Elder <aelder@sgi.com>