diff options
Diffstat (limited to 'drivers/md/linear.c')
-rw-r--r-- | drivers/md/linear.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/linear.c b/drivers/md/linear.c index 1ceceb334d5e..00435bd20699 100644 --- a/drivers/md/linear.c +++ b/drivers/md/linear.c | |||
@@ -292,7 +292,7 @@ static int linear_make_request (struct request_queue *q, struct bio *bio) | |||
292 | int cpu; | 292 | int cpu; |
293 | 293 | ||
294 | if (unlikely(bio_rw_flagged(bio, BIO_RW_BARRIER))) { | 294 | if (unlikely(bio_rw_flagged(bio, BIO_RW_BARRIER))) { |
295 | bio_endio(bio, -EOPNOTSUPP); | 295 | md_barrier_request(mddev, bio); |
296 | return 0; | 296 | return 0; |
297 | } | 297 | } |
298 | 298 | ||
@@ -383,6 +383,7 @@ static void linear_exit (void) | |||
383 | module_init(linear_init); | 383 | module_init(linear_init); |
384 | module_exit(linear_exit); | 384 | module_exit(linear_exit); |
385 | MODULE_LICENSE("GPL"); | 385 | MODULE_LICENSE("GPL"); |
386 | MODULE_DESCRIPTION("Linear device concatenation personality for MD"); | ||
386 | MODULE_ALIAS("md-personality-1"); /* LINEAR - deprecated*/ | 387 | MODULE_ALIAS("md-personality-1"); /* LINEAR - deprecated*/ |
387 | MODULE_ALIAS("md-linear"); | 388 | MODULE_ALIAS("md-linear"); |
388 | MODULE_ALIAS("md-level--1"); | 389 | MODULE_ALIAS("md-level--1"); |