build failure of next-20220715 due to undeclared identifier 'NFS4_CLIENTS_PER_GB'
Subsystems (3)
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
Quoted 9 lines · Sudip Mukherjee (Codethink)
Hi All,
Not sure if it has been reported, multiple configs of arm and mips have failed to build next-20220715 with the error:
Quoted 7 lines
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