Re: fs/netfs/objects.c:148:5-24: WARNING: atomic_dec_and_test variation before object free at line 150.

From: David Howells
Date: Sun Sep 08 2024 - 15:30:23 EST


kernel test robot <lkp@xxxxxxxxx> wrote:

> > 148 if (atomic_dec_and_test(&ictx->io_count))
> 149 wake_up_var(&ictx->io_count);
> > 150 call_rcu(&rreq->rcu, netfs_free_request_rcu);

->io_count isn't a refcount for the rreq struct. This is not a bug.

David