From: Christoph Hellwig Date: Fri, 10 Dec 2010 08:42:17 +0000 (+0000) Subject: xfs: remove some dead bio handling code X-Git-Tag: v2.6.38-rc1~44^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=221cb2517e8fc9a1d67c7a8a9c19fc5a916b583f;p=pandora-kernel.git 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 Reviewed-by: Dave Chinner Signed-off-by: Alex Elder --- Reading git-diff-tree failed