lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ