git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e49f42f
)
Linux : Don't leak GLOCK when writing CellServDB
author
Simon Wilkinson
<sxw@your-file-system.com>
Fri, 5 Mar 2010 15:40:55 +0000 (15:40 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Fri, 5 Mar 2010 16:00:02 +0000 (08:00 -0800)
Don't leak the GLOCK when we're iterating over the CellServDB in
response to a read of /proc/fs/openafs/CellServDB
Change-Id: I2ed08b9d7f93c7513b49708d009e8acaa478b5f8
Reviewed-on: http://gerrit.openafs.org/1522
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_proc.c
patch
|
blob
|
history
diff --git
a/src/afs/LINUX/osi_proc.c
b/src/afs/LINUX/osi_proc.c
index
59b2ee9
..
53478bd
100644
(file)
--- a/
src/afs/LINUX/osi_proc.c
+++ b/
src/afs/LINUX/osi_proc.c
@@
-67,7
+67,7
@@
static void *c_next(struct seq_file *m, void *p, loff_t *pos)
tq = QNext(cq);
if (tq == &CellLRU)
- return NULL;
+ tq = NULL;
AFS_GUNLOCK();
return tq;