Re: Re: [PATCH] kernfs: Convert from atomic_t to refcount_t on kernfs_node->count

From: Greg Kroah-Hartman
Date: Thu Jul 22 2021 - 02:32:30 EST


On Thu, Jul 22, 2021 at 02:25:18PM +0800, Xiyu Yang wrote:
> Hi Greg,
>
> I'm not sure why failed... I send it again now.
>
> I consider it as a reference count due to its related operations and
> the developer's comments, such as "put a reference count on a
> kernfs_node" around the kernfs_put().

I'm sorry, but I have no context for this statement, what are you
referring to?

Always properly quote the email you are responding to, so we know what
is happening. Remember, we deal with thousands of emails a week...

thanks,

greg k-h