diff options
Diffstat (limited to 'fs/nfsd/nfsctl.c')
-rw-r--r-- | fs/nfsd/nfsctl.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index 48da164bb597..b51e7ae8b570 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c | |||
@@ -784,11 +784,7 @@ static ssize_t write_pool_threads(struct file *file, char *buf, size_t size) | |||
784 | size -= len; | 784 | size -= len; |
785 | mesg += len; | 785 | mesg += len; |
786 | } | 786 | } |
787 | 787 | rv = mesg - buf; | |
788 | kfree(nthreads); | ||
789 | mutex_unlock(&nfsd_mutex); | ||
790 | return (mesg-buf); | ||
791 | |||
792 | out_free: | 788 | out_free: |
793 | kfree(nthreads); | 789 | kfree(nthreads); |
794 | mutex_unlock(&nfsd_mutex); | 790 | mutex_unlock(&nfsd_mutex); |