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>
Sun, 5 Sep 2010 15:49:25 +0000 (08:49 -0700)
commit526b8a7ca53977d6cdb91427932ac6b18bb7064d
treecf09ea6747de8f88aa289f2d7811f7a32692e4b7
parent114b817da5aea425c87c12e10cdefd033f7ba0ff
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>
src/afs/VNOPS/afs_vnop_lookup.c