LINUX: Fix oops during negative dentry caching
authorMichael Meffie <mmeffie@sinenomine.net>
Tue, 15 Sep 2015 17:33:12 +0000 (13:33 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Tue, 15 Sep 2015 18:38:53 +0000 (14:38 -0400)
commitfd23587a5dbc9a15e2b2e83160b947f045c92af1
tree66a8d51dcb3f8bde790fd82ccc0284b10b340069
parent152ad2848661c0827a29d4f15543be341c1251c3
LINUX: Fix oops during negative dentry caching

Commit 2e9dcc069904aaa434787eec53c6f9821911cbab reinstated negative
dentry caching, but introduced an oops when fakestat is in use.  Be sure
the GLOCK is held when looking up the parent vcache dv when the parent
is a mount point and fakestat is in use, since the calls to do the
lookup require the GLOCK to be held.

Change-Id: I6c47fbf53280400bf40271b1ff2837bd7c6dc69e
Reviewed-on: http://gerrit.openafs.org/12019
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/LINUX/osi_vnodeops.c