OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2806-g351d3b8
Gerrit Code Review
Tue, 31 Jul 2012 12:45:22 -0700 (PDT)
The following commit has been merged in the master branch:
Author: Andrew Deason <firstname.lastname@example.org>
Date: Tue Jul 31 14:40:41 2012 -0400
LINUX: Always hold afs_xuser for unixuser read
We were failing to hold the afs_xuser lock when we entered our
unixuser traversal for the first time (when the given position is 0).
This means we can release the lock without acquiring it, causing all
kinds of weird behavior.
Just always grab afs_xuser on entry. We could possibly do some tricks
to avoid grabbing this lock until after we've printed the column
headers, but it does not seem worth it.
Tested-by: BuildBot <email@example.com>
Reviewed-by: Derrick Brashear <firstname.lastname@example.org>
src/afs/LINUX/osi_proc.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
OpenAFS Master Repository