]> git.michaelhowe.org Git - packages/o/openafs.git/commit
SOLARIS: Do not release NULL root vp on unmount
authorAndrew Deason <adeason@sinenomine.net>
Fri, 29 Jul 2011 21:44:11 +0000 (16:44 -0500)
committerDerrick Brashear <shadow@dementia.org>
Fri, 12 Aug 2011 15:53:37 +0000 (08:53 -0700)
commitb51cadd464887b8607b61d9ee6493bb344474840
treed917b9f49fa6ee87acc0b439b0a13d8a37e685cd
parent0e38a8fd8043f34da12741f6272a380d9a7b9dcf
SOLARIS: Do not release NULL root vp on unmount

When we unmount, and afs_globalVp is NULL (e.g. because root.afs was
unavailable when the client was started), we will panic the machine if
we try to release it. So, if afs_globalVp is NULL when we hit our
unmount handler, don't touch it.

Reported by Andy Cobaugh.

Reviewed-on: http://gerrit.openafs.org/5117
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit b621a2986099488426a026818532a9600db9aeba)

Change-Id: Iaa5db97e9fc87d1eb083d20a9fc6a49cbb5a066b
Reviewed-on: http://gerrit.openafs.org/5230
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/SOLARIS/osi_vfsops.c