Re: [PATCH v2] nfs: fix bitmap decoder to handle a 3rd word
From: Benjamin Coddington
Date: Wed Aug 21 2024 - 11:53:35 EST
On 21 Aug 2024, at 8:28, Jeff Layton wrote:
> It only decodes the first two words at this point. Have it decode the
> third word as well. Without this, the client doesn't send delegated
> timestamps in the CB_GETATTR response.
>
> With this change we also need to expand the on-stack bitmap in
> decode_recallany_args to 3 elements, in case the server sends a larger
> bitmap than expected.
>
> Fixes: 43df7110f4a9 ("NFSv4: Add CB_GETATTR support for delegated attributes")
> Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
Reviewed-by: Benjamin Coddington <bcodding@xxxxxxxxxx>
Ben