Re: build failure of next-20220715 due to undeclared identifier 'NFS4_CLIENTS_PER_GB'

From: Chuck Lever III
Date: Fri Jul 15 2022 - 19:12:53 EST




> On Jul 15, 2022, at 7:02 PM, Sudip Mukherjee (Codethink) <sudipm.mukherjee@xxxxxxxxx> wrote:
>
> Hi All,
>
> Not sure if it has been reported, multiple configs of arm and mips have
> failed to build next-20220715 with the error:
>
> fs/nfsd/nfsctl.c:1504:17: error: use of undeclared identifier 'NFS4_CLIENTS_PER_GB'
> max_clients *= NFS4_CLIENTS_PER_GB;
> ^
> fs/nfsd/nfsctl.c:1505:49: error: use of undeclared identifier 'NFS4_CLIENTS_PER_GB'
> nn->nfs4_max_clients = max_t(int, max_clients, NFS4_CLIENTS_PER_GB);
> ^
> fs/nfsd/nfsctl.c:1505:49: error: use of undeclared identifier 'NFS4_CLIENTS_PER_GB'

This has been reported and the offending commits have been removed from
the NFSD for-next branch. Dai intends to provide replacements which do
not suffer from this issue.


--
Chuck Lever