[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <877cr4uidk.fsf@nvidia.com>
Date: Thu, 13 Jul 2023 13:59:01 +0200
From: Petr Machata <petrm@...dia.com>
To: Christian Brauner <brauner@...nel.org>
CC: <linux-fsdevel@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] eventfd: simplify eventfd_signal_mask()
Christian Brauner <brauner@...nel.org> writes:
> @@ -82,9 +83,9 @@ __u64 eventfd_signal_mask(struct eventfd_ctx *ctx, __u64 n, __poll_t mask)
> *
> * Returns the amount by which the counter was incremented.
This should be reworded to reflect the fact that the function now
returns a bool.
> */
> -__u64 eventfd_signal(struct eventfd_ctx *ctx)
> +bool eventfd_signal(struct eventfd_ctx *ctx)
> {
> - return eventfd_signal_mask(ctx, 1, 0);
> + return eventfd_signal_mask(ctx, 0);
> }
> EXPORT_SYMBOL_GPL(eventfd_signal);
>
Powered by blists - more mailing lists