}
static void ss_wakeup(struct list_head *h,
- struct wake_q_head *wake_q, int kill)
+ struct wake_q_head *wake_q, bool kill)
{
struct msg_sender *mss, *t;
WAKE_Q(wake_q);
expunge_all(msq, -EIDRM, &wake_q);
- ss_wakeup(&msq->q_senders, &wake_q, 1);
+ ss_wakeup(&msq->q_senders, &wake_q, true);
msg_rmid(ns, msq);
ipc_unlock_object(&msq->q_perm);
wake_up_q(&wake_q);
* Sleeping senders might be able to send
* due to a larger queue size.
*/
- ss_wakeup(&msq->q_senders, &wake_q, 0);
+ ss_wakeup(&msq->q_senders, &wake_q, false);
ipc_unlock_object(&msq->q_perm);
wake_up_q(&wake_q);
msq->q_cbytes -= msg->m_ts;
atomic_sub(msg->m_ts, &ns->msg_bytes);
atomic_dec(&ns->msg_hdrs);
- ss_wakeup(&msq->q_senders, &wake_q, 0);
+ ss_wakeup(&msq->q_senders, &wake_q, false);
goto out_unlock0;
}