projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2522a77
)
nfsd: minor write_pool_threads exit cleanup
author
J. Bruce Fields
<bfields@citi.umich.edu>
Tue, 28 Jul 2009 15:37:25 +0000
(11:37 -0400)
committer
J. Bruce Fields
<bfields@citi.umich.edu>
Tue, 28 Jul 2009 18:29:41 +0000
(14:29 -0400)
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfsctl.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/nfsctl.c
b/fs/nfsd/nfsctl.c
index 48da164bb59743dc413207d68e29b7a8cd9dac66..b51e7ae8b570df1ca109f7fde016008f5749a4e9 100644
(file)
--- 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)
size -= len;
mesg += len;
}
-
- kfree(nthreads);
- mutex_unlock(&nfsd_mutex);
- return (mesg-buf);
-
+ rv = mesg - buf;
out_free:
kfree(nthreads);
mutex_unlock(&nfsd_mutex);
This page took
0.025016 seconds
and
5
git commands to generate.