summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-flakey.c
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2013-07-10 23:41:17 +0100
committerAlasdair G Kergon <agk@redhat.com>2013-07-10 23:41:17 +0100
commit75e3a0f55bf097dab76c662358bcb7c88928f49d (patch)
tree5d855b9c17fed3d6e262d8f92e55edcb283f651b /drivers/md/dm-flakey.c
parent5d8be84397618a2c04ec2b74d5d5a3d852a2ee5a (diff)
downloadlinux-0-day-75e3a0f55bf097dab76c662358bcb7c88928f49d.tar.gz
linux-0-day-75e3a0f55bf097dab76c662358bcb7c88928f49d.tar.xz
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 <sanbai@taobao.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-flakey.c')
-rw-r--r--drivers/md/dm-flakey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-flakey.c b/drivers/md/dm-flakey.c
index 7fcf21cb4ff86..c80a0ec5f1269 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;