Linux: Remove use of undefined AFS_LINUX_ENV
authorMarc Dionne <marc.c.dionne@gmail.com>
Wed, 14 Sep 2011 21:16:52 +0000 (17:16 -0400)
committerDerrick Brashear <shadow@dementix.org>
Thu, 15 Sep 2011 03:49:57 +0000 (20:49 -0700)
commit236c18b36a93a1c4906f84c825f03f654f5ae4dc
tree497fa5f6daca66ffe11a5a410fd97bf8c17a894b
parent17be9b775c0be234879eeda66707581e23a18d08
Linux: Remove use of undefined AFS_LINUX_ENV

AFS_LINUX_ENV is used in a few places, mostly from commit dc077b83,
but it is not defined anywhere.  As a result the logic was not as
intended.

In the definition of osi_ThreadUnique, this means that on all
Linux we use getpid(), which is OK as it gets defined appropriately
under LINUX and LINUX24 as current->pid or current->tgid.

Change-Id: Ic8daf10480a91ff8406cd6ca3929a2ecfafa78ad
Reviewed-on: http://gerrit.openafs.org/5424
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afs/afs.h
src/afs/afs_osi.c
src/afs/afs_osi.h