Skip to contentSkip to conversation

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

DISCUSSION Sudip Mukherjee (Codethink) 2 participants 2 messages Jul 15, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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