git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
LINUX: Always hold afs_xuser for unixuser read
[openafs.git]
/
src
/
afs
/
LINUX
/
osi_proc.c
diff --git
a/src/afs/LINUX/osi_proc.c
b/src/afs/LINUX/osi_proc.c
index
bb1529b
..
b5219fa
100644
(file)
--- a/
src/afs/LINUX/osi_proc.c
+++ b/
src/afs/LINUX/osi_proc.c
@@
-138,12
+138,14
@@
uu_start(struct seq_file *m, loff_t *pos)
loff_t n = 0;
afs_int32 i;
- if (!*pos)
- return (void *)(1);
-
AFS_GLOCK();
ObtainReadLock(&afs_xuser);
+ if (!*pos) {
+ ret = (void *)(1);
+ goto done;
+ }
+
ret = NULL;
for (i = 0; i < NUSERS; i++) {