diff options
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r-- | drivers/md/dm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index dac79d11458d..75d710493b7b 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c | |||
@@ -826,9 +826,9 @@ static int __clone_and_map(struct clone_info *ci) | |||
826 | } | 826 | } |
827 | 827 | ||
828 | /* | 828 | /* |
829 | * Split the bio into several clones. | 829 | * Split the bio into several clones and submit it to targets. |
830 | */ | 830 | */ |
831 | static int __split_bio(struct mapped_device *md, struct bio *bio) | 831 | static int __split_and_process_bio(struct mapped_device *md, struct bio *bio) |
832 | { | 832 | { |
833 | struct clone_info ci; | 833 | struct clone_info ci; |
834 | int error = 0; | 834 | int error = 0; |
@@ -951,7 +951,7 @@ static int dm_request(struct request_queue *q, struct bio *bio) | |||
951 | down_read(&md->io_lock); | 951 | down_read(&md->io_lock); |
952 | } | 952 | } |
953 | 953 | ||
954 | r = __split_bio(md, bio); | 954 | r = __split_and_process_bio(md, bio); |
955 | up_read(&md->io_lock); | 955 | up_read(&md->io_lock); |
956 | 956 | ||
957 | out_req: | 957 | out_req: |
@@ -1405,7 +1405,7 @@ static void __flush_deferred_io(struct mapped_device *md) | |||
1405 | struct bio *c; | 1405 | struct bio *c; |
1406 | 1406 | ||
1407 | while ((c = bio_list_pop(&md->deferred))) { | 1407 | while ((c = bio_list_pop(&md->deferred))) { |
1408 | if (__split_bio(md, c)) | 1408 | if (__split_and_process_bio(md, c)) |
1409 | bio_io_error(c); | 1409 | bio_io_error(c); |
1410 | } | 1410 | } |
1411 | 1411 | ||