Re: [PATCH v2 1/3] nfs/blocklayout: Fix compilation error (`make W=1`) in bl_write_pagelist()
From: Andy Shevchenko
Date: Wed Feb 04 2026 - 11:45:17 EST
On Wed, Feb 04, 2026 at 10:53:26AM -0500, Anna Schumaker wrote:
> On Wed, Feb 4, 2026, at 4:41 AM, Andy Shevchenko wrote:
> > Clang compiler is not happy about set but unused variable
> > (when dprintk() is no-op):
> >
> > .../blocklayout/blocklayout.c:384:9: error: variable 'count' set but
> > not used [-Werror,-Wunused-but-set-variable]
> >
> > Remove a leftover from the previous cleanup.
> >
> > Fixes: 3a6fd1f004fc ("pnfs/blocklayout: remove read-modify-write
> > handling in bl_write_pagelist")
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
>
> Acked-by: Anna Schumaker <anna.schumkaer@xxxxxxxxxx>
Thank you!
--
With Best Regards,
Andy Shevchenko