Re: [RFC PATCH v3 1/8] Use refcount_t for ucounts reference counting

From: Linus Torvalds
Date: Mon Jan 18 2021 - 15:36:24 EST


On Mon, Jan 18, 2021 at 11:46 AM Alexey Gladkov
<gladkov.alexey@xxxxxxxxx> wrote:
>
> Sorry about that. I thought that this code is not needed when switching
> from int to refcount_t. I was wrong.

Well, you _may_ be right. I personally didn't check how the return
value is used.

I only reacted to "it certainly _may_ be used, and there is absolutely
no comment anywhere about why it wouldn't matter".

Linus