fs: replace NIPQUAD()
Using NIPQUAD() with NIPQUAD_FMT, %d.%d.%d.%d or %u.%u.%u.%u can be replaced with %pI4 Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committato da
David S. Miller

parent
63779436ab
commit
be85940548
@@ -719,8 +719,8 @@ nfsd4_setclientid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
|
||||
status = nfserr_clid_inuse;
|
||||
if (!same_creds(&conf->cl_cred, &rqstp->rq_cred)
|
||||
|| conf->cl_addr != sin->sin_addr.s_addr) {
|
||||
dprintk("NFSD: setclientid: string in use by client"
|
||||
"at %u.%u.%u.%u\n", NIPQUAD(conf->cl_addr));
|
||||
dprintk("NFSD: setclientid: string in use by clientat %pI4\n",
|
||||
&conf->cl_addr);
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
|
Fai riferimento in un nuovo problema
Block a user