aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfsctl.c')
-rw-r--r--fs/nfsd/nfsctl.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c
index 9f038a4a148e..613bcb8171a5 100644
--- a/fs/nfsd/nfsctl.c
+++ b/fs/nfsd/nfsctl.c
@@ -150,7 +150,6 @@ static const struct file_operations transaction_ops = {
150 .release = simple_transaction_release, 150 .release = simple_transaction_release,
151}; 151};
152 152
153extern struct seq_operations nfs_exports_op;
154static int exports_open(struct inode *inode, struct file *file) 153static int exports_open(struct inode *inode, struct file *file)
155{ 154{
156 return seq_open(file, &nfs_exports_op); 155 return seq_open(file, &nfs_exports_op);
@@ -358,8 +357,6 @@ static ssize_t write_filehandle(struct file *file, char *buf, size_t size)
358 return mesg - buf; 357 return mesg - buf;
359} 358}
360 359
361extern int nfsd_nrthreads(void);
362
363static ssize_t write_threads(struct file *file, char *buf, size_t size) 360static ssize_t write_threads(struct file *file, char *buf, size_t size)
364{ 361{
365 /* if size > 0, look for a number of threads and call nfsd_svc 362 /* if size > 0, look for a number of threads and call nfsd_svc
@@ -382,10 +379,6 @@ static ssize_t write_threads(struct file *file, char *buf, size_t size)
382 return strlen(buf); 379 return strlen(buf);
383} 380}
384 381
385extern int nfsd_nrpools(void);
386extern int nfsd_get_nrthreads(int n, int *);
387extern int nfsd_set_nrthreads(int n, int *);
388
389static ssize_t write_pool_threads(struct file *file, char *buf, size_t size) 382static ssize_t write_pool_threads(struct file *file, char *buf, size_t size)
390{ 383{
391 /* if size > 0, look for an array of number of threads per node 384 /* if size > 0, look for an array of number of threads per node