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]
Date:   Thu, 07 Jul 2022 13:52:27 +0100
From:   David Howells <dhowells@...hat.com>
To:     Jeff Layton <jlayton@...nel.org>
Cc:     dhowells@...hat.com, xiubli@...hat.com, idryomov@...il.com,
        marc.dionne@...istor.com, willy@...radead.org,
        keescook@...omium.org, kirill.shutemov@...ux.intel.com,
        william.kucharski@...cle.com, linux-afs@...ts.infradead.org,
        linux-kernel@...r.kernel.org, ceph-devel@...r.kernel.org,
        linux-cachefs@...hat.com, vshankar@...hat.com
Subject: Re: [PATCH v3 2/2] afs: unlock the folio when vnode is marked deleted

Jeff Layton <jlayton@...nel.org> wrote:

> > +		folio_unlock(*folio);
> > +		folio_put(*folio);
> 
> Don't you also need this?
> 
> 	*folio = NULL;

It shouldn't need any of those three lines.

David

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ