OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_1pre2-140-g0910046

Gerrit Code Review
Tue, 31 Jul 2012 11:22:34 -0700 (PDT)

The following commit has been merged in the openafs-stable-1_6_x branch:
commit 0910046da6c0f08768d3d7cb983ce843572498d2
Author: Andrew Deason <>
Date:   Thu Jul 26 16:40:03 2012 -0500

    LINUX: Hold GLOCK for proc traversal
    The functions that traverse unixuser structures for display via /proc
    (uu_start et al) call various libafs functions hold and release locks,
    etc. To do any of that, we need GLOCK. Amongst other issues, we can
    panic if we try to acquire a contested lock without GLOCK, since we
    assert glock is held when we sleep for the lock or try to wake other
    waiters. The same goes for the legacy CellServDB proc file.
    So, hold and release GLOCK as appropriate.
    Tested-by: BuildBot <>
    Reviewed-by: Chas Williams - CONTRACTOR <>
    Reviewed-by: Derrick Brashear <>
    (cherry picked from commit 5237d3d232f22aaf4f67f3a8727a293f4058a7ae)
    Change-Id: I5895b4bde32b8efa27abc83cc6b9dab7458d5c75
    Reviewed-by: Derrick Brashear <>
    Tested-by: BuildBot <>

 src/afs/LINUX/osi_proc.c |   24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

OpenAFS Master Repository