Re: [PATCH 2/3] gfs2: switch to lockref_init(..., 1)

From: Christoph Hellwig
Date: Wed Jan 29 2025 - 11:50:28 EST


On Wed, Jan 29, 2025 at 03:33:51PM +0100, Andreas Gruenbacher wrote:
> In qd_alloc(), initialize the lockref count to 1 to cover the common
> case. Compensate for that in gfs2_quota_init() by adjusting the count
> back down to 0; this only occurs when mounting the filesystem rw.

Looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>