Re: [PATCH] aoe: end barrier bios with EOPNOTSUPP
From: Daniel Walker
Date: Wed Sep 09 2009 - 12:51:16 EST
On Wed, 2009年09月09日 at 12:45 -0400, Ed Cashin wrote:
>
--- a/drivers/block/aoe/aoeblk.c
>
+++ b/drivers/block/aoe/aoeblk.c
>
@@ -172,6 +172,9 @@ aoeblk_make_request(struct request_queue *q,
>
struct bio *bio)
>
BUG();
>
bio_endio(bio, -ENXIO);
>
return 0;
>
+ } else if (bio_barrier(bio)) {
>
+ bio_endio(bio, -EOPNOTSUPP);
>
+ return 0;
>
} else if (bio->bi_io_vec == NULL) {
>
printk(KERN_ERR "aoe: bi_io_vec is NULL\n");
>
BUG();
Could you run this through script/checkpatch.pl and fix any errors you
find.. It looks like your not indenting properly ..
Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/