2022-07-15 23:05:50

by Sudip Mukherjee

[permalink] [raw]
Subject: build failure of next-20220715 due to undeclared identifier 'NFS4_CLIENTS_PER_GB'

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'


--
Regards
Sudip


2022-07-15 23:19:18

by Chuck Lever III

[permalink] [raw]
Subject: Re: build failure of next-20220715 due to undeclared identifier 'NFS4_CLIENTS_PER_GB'



> On Jul 15, 2022, at 7:02 PM, Sudip Mukherjee (Codethink) <[email protected]> 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