]> git.michaelhowe.org Git - packages/o/openafs.git/commit
afs_DoBulkStat: don't call afs_Analyze without holding the GLOCK
authorMarc Dionne <marc.c.dionne@gmail.com>
Sun, 5 Sep 2010 14:48:52 +0000 (10:48 -0400)
committerDerrick Brashear <shadow@dementia.org>
Tue, 7 Sep 2010 18:47:39 +0000 (11:47 -0700)
commit0a7498a90b5257ca24e600a6913e8939cd81b3f7
tree8a4e5e3ceb25f441500cc1aae14cc8b7007798cd
parent1df1d53a6e392eead9be6430e9294bc28480db45
afs_DoBulkStat: don't call afs_Analyze without holding the GLOCK

Limit the scope of the GUNLOCK-GLOCK blocks to cover only the RX
calls.  This prevents afs_Analyze from being called without the
GLOCK, which causes an oops in afs_icl_Event4() where there's
an ASSERT_GLOCK.

Change-Id: Ifa6942d08f22479c0affba3ebd1fc9bf4063d8a5
Reviewed-on: http://gerrit.openafs.org/2668
Tested-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 526b8a7ca53977d6cdb91427932ac6b18bb7064d)
Reviewed-on: http://gerrit.openafs.org/2694
src/afs/VNOPS/afs_vnop_lookup.c