diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-08 01:01:14 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-08 01:01:14 -0300 |
commit | e5fd91f1ef340da553f7a79da9540c3db711c937 (patch) | |
tree | b11842027dc6641da63f4bcc524f8678263304a3 /ipc/kdbus/handle.c | |
parent | 2a9b0348e685a63d97486f6749622b61e9e3292f (diff) |
Linux-libre 4.2-gnu
Diffstat (limited to 'ipc/kdbus/handle.c')
-rw-r--r-- | ipc/kdbus/handle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/kdbus/handle.c b/ipc/kdbus/handle.c index fc60932d6..2f82c2a32 100644 --- a/ipc/kdbus/handle.c +++ b/ipc/kdbus/handle.c @@ -310,13 +310,13 @@ static int kdbus_handle_release(struct inode *inode, struct file *file) switch (handle->type) { case KDBUS_HANDLE_BUS_OWNER: if (handle->bus_owner) { - kdbus_node_deactivate(&handle->bus_owner->node); + kdbus_node_drain(&handle->bus_owner->node); kdbus_bus_unref(handle->bus_owner); } break; case KDBUS_HANDLE_EP_OWNER: if (handle->ep_owner) { - kdbus_node_deactivate(&handle->ep_owner->node); + kdbus_node_drain(&handle->ep_owner->node); kdbus_ep_unref(handle->ep_owner); } break; |