diff options
Diffstat (limited to 'fs/nfsd/nfsctl.c')
-rw-r--r-- | fs/nfsd/nfsctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index e13cbddcdbd0..ae1d14313ef8 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c | |||
@@ -664,7 +664,7 @@ static ssize_t __write_ports_addfd(char *buf) | |||
664 | if (err != 0 || fd < 0) | 664 | if (err != 0 || fd < 0) |
665 | return -EINVAL; | 665 | return -EINVAL; |
666 | 666 | ||
667 | err = nfsd_create_serv(); | 667 | err = nfsd_create_serv(net); |
668 | if (err != 0) | 668 | if (err != 0) |
669 | return err; | 669 | return err; |
670 | 670 | ||
@@ -696,7 +696,7 @@ static ssize_t __write_ports_addxprt(char *buf) | |||
696 | if (port < 1 || port > USHRT_MAX) | 696 | if (port < 1 || port > USHRT_MAX) |
697 | return -EINVAL; | 697 | return -EINVAL; |
698 | 698 | ||
699 | err = nfsd_create_serv(); | 699 | err = nfsd_create_serv(net); |
700 | if (err != 0) | 700 | if (err != 0) |
701 | return err; | 701 | return err; |
702 | 702 | ||