commit | 413d63d7106b914a4a004ac08698f10c618e4616 | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@citi.umich.edu> | Tue Jul 28 11:37:25 2009 -0400 |
committer | J. Bruce Fields <bfields@citi.umich.edu> | Tue Jul 28 14:29:41 2009 -0400 |
tree | e481bf2f0da4388707bebfd1d3a2e69ee44614f8 | |
parent | 2522a776c1b9b5c93383d07717f895cc1a56a87a [diff] [blame] |
nfsd: minor write_pool_threads exit cleanup Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index 48da164..b51e7ae 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c
@@ -784,11 +784,7 @@ size -= len; mesg += len; } - - kfree(nthreads); - mutex_unlock(&nfsd_mutex); - return (mesg-buf); - + rv = mesg - buf; out_free: kfree(nthreads); mutex_unlock(&nfsd_mutex);