Linux 3.19: struct nameidata becomes opaque
authorMarc Dionne <marc.dionne@your-file-system.com>
Mon, 5 Jan 2015 12:17:14 +0000 (07:17 -0500)
committerJeffrey Altman <jaltman@your-file-system.com>
Thu, 8 Jan 2015 11:43:42 +0000 (06:43 -0500)
commit72e22eb00f641f137f7dbe4195d6d82f4a8addc9
tree33b3b050f196ea439a45b567580a2db0f81c4284
parentec9a7c2db833efacfd0692c658c2d38ed9f852ba
Linux 3.19: struct nameidata becomes opaque

With kernel 3.19 struct nameidata becomes opaque.  As a result
we cannot rely on STRUCT_NAMEIDATA_HAS_PATH being true for
new kernels.

Rework the conditions here so that STRUCT_NAMEIDATA_HAS_PATH
is only tested when we're using a nameidata structure and
the result matters.

Also modify a configure test to use a nameidata pointer
instead of an actual structure.

Change-Id: I0d71fca44a67570ac3b86151c70f2969dc463f4f
Reviewed-on: http://gerrit.openafs.org/11648
Reviewed-by: Daria Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/LINUX/osi_compat.h
src/cf/linux-test4.m4