projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18776c7
)
dm stripe: fix init failure
author
Heinz Mauelshagen
<heinzm@redhat.com>
Thu, 13 Nov 2008 23:38:56 +0000
(23:38 +0000)
committer
Alasdair G Kergon
<agk@redhat.com>
Thu, 13 Nov 2008 23:38:56 +0000
(23:38 +0000)
Don't proceed if dm_stripe_init() fails to register itself as a dm target.
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-stripe.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-stripe.c
b/drivers/md/dm-stripe.c
index a2d068dbe9e2669dc25290a09e8918b4b5c2f28f..9e4ef88d421e499dfb05e1697593bcbf82fefe38 100644
(file)
--- a/
drivers/md/dm-stripe.c
+++ b/
drivers/md/dm-stripe.c
@@
-320,8
+320,10
@@
int __init dm_stripe_init(void)
int r;
r = dm_register_target(&stripe_target);
- if (r < 0)
+ if (r < 0)
{
DMWARN("target registration failed");
+ return r;
+ }
kstriped = create_singlethread_workqueue("kstriped");
if (!kstriped) {