[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGudoHHjGZ4xTQ4mGhFX5RV+fq7=Ywo86b7Qf42+ssVeHhMOtQ@mail.gmail.com>
Date: Tue, 4 Mar 2025 19:48:30 +0100
From: Mateusz Guzik <mjguzik@...il.com>
To: brauner@...nel.org, viro@...iv.linux.org.uk
Cc: jack@...e.cz, linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH v2 1/4] file: add fput and file_ref_put routines optimized
for use when closing a fd
On Tue, Mar 4, 2025 at 7:35 PM Mateusz Guzik <mjguzik@...il.com> wrote:
> +void fput_close_sync(struct file *file)
> +{
> + if (unlikely(file_ref_put_close(&file->f_ref)))
> + __fput(file);
> +}
this of course should be: *likely*
--
Mateusz Guzik <mjguzik gmail.com>
Powered by blists - more mailing lists