aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2007-10-19 22:38:56 +0100
committerAlasdair G Kergon <agk@redhat.com>2007-10-20 02:01:12 +0100
commitd336416ff1e6f7715f6dcb3b4e3e60626e406dd0 (patch)
treec53df946badcfb7106e976b207f2993370a4cffc
parent051814c69fac92f1964739c0cf08b5e3b1156b04 (diff)
dm mpath: emc fix an error message
Correct an error message, reported by Michael Wood <michael@frogfoot.com>. Signed-off-by: Alasdair G Kergon <agk@redhat.com>
-rw-r--r--drivers/md/dm-emc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-emc.c b/drivers/md/dm-emc.c
index ed28fe2072f..6b91b9ab1d4 100644
--- a/drivers/md/dm-emc.c
+++ b/drivers/md/dm-emc.c
@@ -81,7 +81,7 @@ static struct bio *get_failover_bio(struct dm_path *path, unsigned data_size)
}
if (bio_add_page(bio, page, data_size, 0) != data_size) {
- DMERR("get_failover_bio: alloc_page() failed.");
+ DMERR("get_failover_bio: bio_add_page() failed.");
__free_page(page);
bio_put(bio);
return NULL;