Commit 442a6290 authored by Chuck Lever's avatar Chuck Lever

NFSD: Clean up nfsctl white-space damage

Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent c42bebca
...@@ -338,7 +338,7 @@ static ssize_t write_filehandle(struct file *file, char *buf, size_t size) ...@@ -338,7 +338,7 @@ static ssize_t write_filehandle(struct file *file, char *buf, size_t size)
return -EINVAL; return -EINVAL;
maxsize = min(maxsize, NFS3_FHSIZE); maxsize = min(maxsize, NFS3_FHSIZE);
if (qword_get(&mesg, mesg, size)>0) if (qword_get(&mesg, mesg, size) > 0)
return -EINVAL; return -EINVAL;
/* we have all the words, they are in buf.. */ /* we have all the words, they are in buf.. */
...@@ -526,7 +526,7 @@ static ssize_t __write_versions(struct file *file, char *buf, size_t size) ...@@ -526,7 +526,7 @@ static ssize_t __write_versions(struct file *file, char *buf, size_t size)
char *sep; char *sep;
struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id);
if (size>0) { if (size > 0) {
if (nn->nfsd_serv) if (nn->nfsd_serv)
/* Cannot change versions without updating /* Cannot change versions without updating
* nn->nfsd_serv->sv_xdrsize, and reallocing * nn->nfsd_serv->sv_xdrsize, and reallocing
...@@ -705,7 +705,7 @@ static ssize_t __write_ports_addfd(char *buf, struct net *net, const struct cred ...@@ -705,7 +705,7 @@ static ssize_t __write_ports_addfd(char *buf, struct net *net, const struct cred
} }
/* /*
* A transport listener is added by writing it's transport name and * A transport listener is added by writing its transport name and
* a port number. * a port number.
*/ */
static ssize_t __write_ports_addxprt(char *buf, struct net *net, const struct cred *cred) static ssize_t __write_ports_addxprt(char *buf, struct net *net, const struct cred *cred)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment