lkml.org 
[lkml]   [2022]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3 2/2] afs: unlock the folio when vnode is marked deleted
Date
Jeff Layton <jlayton@kernel.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

\
 
 \ /
  Last update: 2022-07-07 14:54    [W:0.210 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site