From: Alasdair G Kergon Date: Wed, 10 Jul 2013 22:41:17 +0000 (+0100) Subject: dm flakey: correct ctr alloc failure mesg X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=75e3a0f55bf097dab76c662358bcb7c88928f49d;p=linux-beck.git dm flakey: correct ctr alloc failure mesg Remove the reference to the "linear" target from the error message issued when allocation fails in the flakey target. Cc: Robin Dong Signed-off-by: Alasdair G Kergon --- diff --git a/drivers/md/dm-flakey.c b/drivers/md/dm-flakey.c index 7fcf21cb4ff8..c80a0ec5f126 100644 --- a/drivers/md/dm-flakey.c +++ b/drivers/md/dm-flakey.c @@ -176,7 +176,7 @@ static int flakey_ctr(struct dm_target *ti, unsigned int argc, char **argv) fc = kzalloc(sizeof(*fc), GFP_KERNEL); if (!fc) { - ti->error = "Cannot allocate linear context"; + ti->error = "Cannot allocate context"; return -ENOMEM; } fc->start_time = jiffies;