LINUX: Use struct vfs_path on RHEL5
authorAndrew Deason <adeason@sinenomine.net>
Wed, 29 Aug 2012 16:39:01 +0000 (11:39 -0500)
committerDerrick Brashear <shadow@dementix.org>
Thu, 30 Aug 2012 16:01:37 +0000 (09:01 -0700)
commit74c1881dff1593f4a8920ba8d8a2400760899fa5
tree1acd5289368981388f44f95e671a10fdae00ee01
parentf87d49cd17fbf6aa9465faadac823ed8d0510a16
LINUX: Use struct vfs_path on RHEL5

Some revisions of the kernel from RHEL5 (2.6.18-308.* and possibly
others) renamed 'struct path' to 'struct vfs_path'. So, use
'struct vfs_path' when it exists.

This introduces the afs_linux_path_t typedef, which is defined as
either a struct path, or struct vfs_path.

Change-Id: I88c31125dbc1ab2998a521e3c57ed532bf2d5bb7
Reviewed-on: http://gerrit.openafs.org/8019
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
acinclude.m4
src/afs/LINUX/osi_compat.h
src/afs/LINUX/osi_misc.c
src/afs/LINUX/osi_vnodeops.c