Messages in this thread | | | Subject | Re: [PATCH] aoe: end barrier bios with EOPNOTSUPP | From | Daniel Walker <> | Date | Wed, 09 Sep 2009 09:51:29 -0700 |
| |
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
| |