projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d8be84
)
dm flakey: correct ctr alloc failure mesg
author
Alasdair G Kergon
<agk@redhat.com>
Wed, 10 Jul 2013 22:41:17 +0000
(23:41 +0100)
committer
Alasdair G Kergon
<agk@redhat.com>
Wed, 10 Jul 2013 22:41:17 +0000
(23:41 +0100)
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>
drivers/md/dm-flakey.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-flakey.c
b/drivers/md/dm-flakey.c
index 7fcf21cb4ff869dd636c91ffe2f8248f0a1d17c7..c80a0ec5f1269b40be7da133c68c6e789c5e5329 100644
(file)
--- 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;