@@ -324,7 +324,7 @@ static ssize_t write_filehandle(struct file *file, char *buf, size_t size)
324
324
len = qword_get (& mesg , dname , size );
325
325
if (len <= 0 )
326
326
return - EINVAL ;
327
-
327
+
328
328
path = dname + len + 1 ;
329
329
len = qword_get (& mesg , path , size );
330
330
if (len <= 0 )
@@ -338,15 +338,15 @@ static ssize_t write_filehandle(struct file *file, char *buf, size_t size)
338
338
return - EINVAL ;
339
339
maxsize = min (maxsize , NFS3_FHSIZE );
340
340
341
- if (qword_get (& mesg , mesg , size )> 0 )
341
+ if (qword_get (& mesg , mesg , size ) > 0 )
342
342
return - EINVAL ;
343
343
344
344
/* we have all the words, they are in buf.. */
345
345
dom = unix_domain_find (dname );
346
346
if (!dom )
347
347
return - ENOMEM ;
348
348
349
- len = exp_rootfh (netns (file ), dom , path , & fh , maxsize );
349
+ len = exp_rootfh (netns (file ), dom , path , & fh , maxsize );
350
350
auth_domain_put (dom );
351
351
if (len )
352
352
return len ;
@@ -418,8 +418,8 @@ static ssize_t write_threads(struct file *file, char *buf, size_t size)
418
418
* OR
419
419
*
420
420
* Input:
421
- * buf: C string containing whitespace-
422
- * separated unsigned integer values
421
+ * buf: C string containing whitespace-
422
+ * separated unsigned integer values
423
423
* representing the number of NFSD
424
424
* threads to start in each pool
425
425
* size: non-zero length of C string in @buf
@@ -526,7 +526,7 @@ static ssize_t __write_versions(struct file *file, char *buf, size_t size)
526
526
char * sep ;
527
527
struct nfsd_net * nn = net_generic (netns (file ), nfsd_net_id );
528
528
529
- if (size > 0 ) {
529
+ if (size > 0 ) {
530
530
if (nn -> nfsd_serv )
531
531
/* Cannot change versions without updating
532
532
* nn->nfsd_serv->sv_xdrsize, and reallocing
@@ -637,11 +637,11 @@ static ssize_t __write_versions(struct file *file, char *buf, size_t size)
637
637
* OR
638
638
*
639
639
* Input:
640
- * buf: C string containing whitespace-
641
- * separated positive or negative
642
- * integer values representing NFS
643
- * protocol versions to enable ("+n")
644
- * or disable ("-n")
640
+ * buf: C string containing whitespace-
641
+ * separated positive or negative
642
+ * integer values representing NFS
643
+ * protocol versions to enable ("+n")
644
+ * or disable ("-n")
645
645
* size: non-zero length of C string in @buf
646
646
* Output:
647
647
* On success: status of zero or more protocol versions has
@@ -705,7 +705,7 @@ static ssize_t __write_ports_addfd(char *buf, struct net *net, const struct cred
705
705
}
706
706
707
707
/*
708
- * A transport listener is added by writing it's transport name and
708
+ * A transport listener is added by writing its transport name and
709
709
* a port number.
710
710
*/
711
711
static ssize_t __write_ports_addxprt (char * buf , struct net * net , const struct cred * cred )
@@ -832,9 +832,9 @@ int nfsd_max_blksize;
832
832
* OR
833
833
*
834
834
* Input:
835
- * buf: C string containing an unsigned
836
- * integer value representing the new
837
- * NFS blksize
835
+ * buf: C string containing an unsigned
836
+ * integer value representing the new
837
+ * NFS blksize
838
838
* size: non-zero length of C string in @buf
839
839
* Output:
840
840
* On success: passed-in buffer filled with '\n'-terminated C string
@@ -881,9 +881,9 @@ static ssize_t write_maxblksize(struct file *file, char *buf, size_t size)
881
881
* OR
882
882
*
883
883
* Input:
884
- * buf: C string containing an unsigned
885
- * integer value representing the new
886
- * number of max connections
884
+ * buf: C string containing an unsigned
885
+ * integer value representing the new
886
+ * number of max connections
887
887
* size: non-zero length of C string in @buf
888
888
* Output:
889
889
* On success: passed-in buffer filled with '\n'-terminated C string
@@ -1065,7 +1065,7 @@ static ssize_t write_recoverydir(struct file *file, char *buf, size_t size)
1065
1065
* OR
1066
1066
*
1067
1067
* Input:
1068
- * buf: any value
1068
+ * buf: any value
1069
1069
* size: non-zero length of C string in @buf
1070
1070
* Output:
1071
1071
* passed-in buffer filled with "Y" or "N" with a newline
0 commit comments