On 03/19, Davide Libenzi wrote: > > +static void signalfd_unlock(struct signalfd_ctx *ctx, > + struct signalfd_lockctx *lk) > +{ > + unlock_task_sighand(lk->tsk, &lk->flags); > +}
Again, this is a matter of taste. But I can't understand why signalfd_unlock() needs "signalfd_ctx *ctx" parameter. If we have "struct signalfd_lockctx *lk", signalfd_lock() can setup lk->ctx if it is ever needed. Oleg. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/