diff options
author | Alasdair G Kergon <agk@redhat.com> | 2013-07-11 00:41:17 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2013-07-11 00:41:17 +0200 |
commit | 75e3a0f55bf097dab76c662358bcb7c88928f49d (patch) | |
tree | 5d855b9c17fed3d6e262d8f92e55edcb283f651b /drivers/md/dm-flakey.c | |
parent | dm verity: remove pointless comparison (diff) | |
download | linux-75e3a0f55bf097dab76c662358bcb7c88928f49d.tar.xz linux-75e3a0f55bf097dab76c662358bcb7c88928f49d.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |