Linux: fix permission op test for certain compilers
authorMarc Dionne <marc.c.dionne@gmail.com>
Sat, 14 May 2011 17:19:52 +0000 (13:19 -0400)
committerDerrick Brashear <shadow@dementia.org>
Sat, 14 May 2011 20:13:25 +0000 (13:13 -0700)
commit050945e949135c1b98ed353fc05fcf9b8c1587bd
tree3c96710cf661c6b38dbfe7703b363ff2fd0b6cd2
parente4dc78845cec721013be4170231936ef371afe2f
Linux: fix permission op test for certain compilers

Some compilers complain that _inode is used uninitialised here.
Since this test requires -Werror, it causes the test to fail
and our permission op to be used in RCU mode, leading to lockups.

Initialise it to make the compilers happy.

Fixes a lockup seen on kernels 2.6.38+ on Gentoo and Debian.

Change-Id: Id6325e3a5a918906d547d241a39de777fb394fdc
Reviewed-on: http://gerrit.openafs.org/4654
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/cf/linux-test4.m4