summaryrefslogtreecommitdiff
path: root/ipc/kdbus/domain.c
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-08 01:01:14 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-08 01:01:14 -0300
commite5fd91f1ef340da553f7a79da9540c3db711c937 (patch)
treeb11842027dc6641da63f4bcc524f8678263304a3 /ipc/kdbus/domain.c
parent2a9b0348e685a63d97486f6749622b61e9e3292f (diff)
Linux-libre 4.2-gnu
Diffstat (limited to 'ipc/kdbus/domain.c')
-rw-r--r--ipc/kdbus/domain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/kdbus/domain.c b/ipc/kdbus/domain.c
index ac9f760c1..5d52d009d 100644
--- a/ipc/kdbus/domain.c
+++ b/ipc/kdbus/domain.c
@@ -60,7 +60,7 @@ static struct kdbus_node *kdbus_domain_control_new(struct kdbus_domain *domain,
return node;
exit_free:
- kdbus_node_deactivate(node);
+ kdbus_node_drain(node);
kdbus_node_unref(node);
return ERR_PTR(ret);
}
@@ -114,7 +114,7 @@ struct kdbus_domain *kdbus_domain_new(unsigned int access)
return d;
exit_unref:
- kdbus_node_deactivate(&d->node);
+ kdbus_node_drain(&d->node);
kdbus_node_unref(&d->node);
return ERR_PTR(ret);
}