Messages in this thread | | | From | Khalid Masum <> | Date | Mon, 22 Aug 2022 19:55:27 +0600 | Subject | Re: [PATCH] rxrpc: fix bad unlock balance in rxrpc_do_sendmsg |
| |
> > /* > + * @holding_mutex: An indication whether caller can still holds > + * the call->user_mutex when returned to caller.
Maybe we can use mutex_is_locked instead of using the holding_mutex parameter to get whether call->user_mutex is still held.
https://www.kernel.org/doc/htmldocs/kernel-locking/API-mutex-is-locked.html > + * This argument can be NULL, which will effect nothing. > + * > * Wait for space to appear in the Tx queue or a signal to occur. > */ >
thanks, -- Khalid Masum
| |