Linux: Fix fallout from path_lookup commit
authorMarc Dionne <marc.c.dionne@gmail.com>
Wed, 30 Mar 2011 22:32:04 +0000 (18:32 -0400)
committerDerrick Brashear <shadow@dementia.org>
Fri, 1 Apr 2011 12:54:56 +0000 (05:54 -0700)
commitf2e91cc3fe61956e7661eae9da82ddf746e63824
tree1635e788d268c9846809b15ea829ea49e97c8cba
parent4af8c88ff2a312e429ae5cb1ac4010ac517bfdd5
Linux: Fix fallout from path_lookup commit

Fix a few issues with the recent commit to deal withg the removal
of path_lookup, spotted on RHEL 5:
- the configure tests needs fs.h to be included before namei.h, to
get the definition of struct inode
- we need to avoid the use of struct path unless its needed; on
older kernels the structure doesn't exist

Change-Id: I6251a96a371a50548dcafc70d94e91b52fc2922a
Reviewed-on: http://gerrit.openafs.org/4382
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
acinclude.m4
src/afs/LINUX/osi_compat.h
src/afs/LINUX/osi_misc.c