Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71707
b: refs/heads/master
c: c7ac86d
h: refs/heads/master
i:
  71705: e84b0c0
  71703: 570f05d
v: v3
  • Loading branch information
Bryn M. Reeves authored and Alasdair G Kergon committed Oct 20, 2007
1 parent 48c6c18 commit 1e63259
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c1cb8e48bddd9e16ef488ea5d50885908c5a4081
refs/heads/master: c7ac86de6a1bcb1b59c83e19b0d0d64a59604ade
15 changes: 8 additions & 7 deletions trunk/drivers/md/dm-mpath-rdac.c
Original file line number Diff line number Diff line change
Expand Up @@ -664,20 +664,21 @@ static struct hw_handler_type rdac_handler = {

static int __init rdac_init(void)
{
int r = dm_register_hw_handler(&rdac_handler);

if (r < 0) {
DMERR("%s: register failed %d", RDAC_DM_HWH_NAME, r);
return r;
}
int r;

rdac_wkqd = create_singlethread_workqueue("rdac_wkqd");
if (!rdac_wkqd) {
DMERR("Failed to create workqueue rdac_wkqd.");
dm_unregister_hw_handler(&rdac_handler);
return -ENOMEM;
}

r = dm_register_hw_handler(&rdac_handler);
if (r < 0) {
DMERR("%s: register failed %d", RDAC_DM_HWH_NAME, r);
destroy_workqueue(rdac_wkqd);
return r;
}

DMINFO("%s: version %s loaded", RDAC_DM_HWH_NAME, RDAC_DM_HWH_VER);
return 0;
}
Expand Down
3 changes: 1 addition & 2 deletions trunk/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ obj-y = sched.o fork.o exec_domain.o panic.o printk.o profile.o \
rcupdate.o extable.o params.o posix-timers.o \
kthread.o wait.o kfifo.o sys_ni.o posix-cpu-timers.o mutex.o \
hrtimer.o rwsem.o latency.o nsproxy.o srcu.o \
utsname.o notifier.o
utsname.o sysctl_check.o notifier.o

obj-$(CONFIG_SYSCTL) += sysctl_check.o
obj-$(CONFIG_STACKTRACE) += stacktrace.o
obj-y += time/
obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o
Expand Down

0 comments on commit 1e63259

Please sign in to comment.