]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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)
committerRuss Allbery <rra@debian.org>
Sat, 14 May 2011 18:07:11 +0000 (11:07 -0700)
commitbb82255a059fe843e41449e8cbed89aa068dc82a
tree44c225e7651e98440fbbacc0b7df8d3b9f75fd0e
parentcb0158ea1b0e0e52432b745b54da9549010cdcac
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
src/cf/linux-test4.m4