]> git.michaelhowe.org Git - packages/o/openafs.git/commit
LINUX: Use struct vfs_path on RHEL5
authorAndrew Deason <adeason@sinenomine.net>
Wed, 29 Aug 2012 16:39:01 +0000 (11:39 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Fri, 21 Dec 2012 10:14:55 +0000 (02:14 -0800)
commit7ca98751976df92a8f91f5768754ff3c1b4980bf
tree35d88e47409c58eea179080c003e18771dbaf8af
parent716cca7ed808aee2e639d06d8d5fcdd71de12b2b
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.

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>
(cherry picked from commit 74c1881dff1593f4a8920ba8d8a2400760899fa5)

Change-Id: I6eaf17ebe9a35b345c1fd5cebd490f8095a1b22b
Reviewed-on: http://gerrit.openafs.org/8789
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Paul Smeddle <paul.smeddle@gmail.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Tested-by: Stephan Wiesand <stephan.wiesand@desy.de>
acinclude.m4
src/afs/LINUX/osi_compat.h
src/afs/LINUX/osi_misc.c
src/afs/LINUX/osi_vnodeops.c