Loading drivers/staging/android/ion/ion.c +2 −0 Original line number Diff line number Diff line Loading @@ -915,6 +915,7 @@ void ion_client_destroy(struct ion_client *client) struct rb_node *n; pr_debug("%s: %d\n", __func__, __LINE__); mutex_lock(&client->lock); while ((n = rb_first(&client->handles))) { struct ion_handle *handle = rb_entry(n, struct ion_handle, node); Loading @@ -922,6 +923,7 @@ void ion_client_destroy(struct ion_client *client) } idr_destroy(&client->idr); mutex_unlock(&client->lock); down_write(&dev->lock); if (client->task) Loading Loading
drivers/staging/android/ion/ion.c +2 −0 Original line number Diff line number Diff line Loading @@ -915,6 +915,7 @@ void ion_client_destroy(struct ion_client *client) struct rb_node *n; pr_debug("%s: %d\n", __func__, __LINE__); mutex_lock(&client->lock); while ((n = rb_first(&client->handles))) { struct ion_handle *handle = rb_entry(n, struct ion_handle, node); Loading @@ -922,6 +923,7 @@ void ion_client_destroy(struct ion_client *client) } idr_destroy(&client->idr); mutex_unlock(&client->lock); down_write(&dev->lock); if (client->task) Loading