LINUX: Introduce afs_d_path 21/13721/3
authorAndrew Deason <adeason@sinenomine.net>
Tue, 23 Jul 2019 18:50:31 +0000 (13:50 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Thu, 2 Apr 2020 04:29:48 +0000 (00:29 -0400)
commit4c4fb6e36634e5663c8be25acd4a1ac872e4738c
tree2f5ea67d49c255206fe787cddc3b3f7def01f429
parent252b3bcc75ea141ff93a7b3147865f4b952fcaca
LINUX: Introduce afs_d_path

Move our preprocessor logic around d_path into an osi_compat.h
wrapper, called afs_d_path. This just makes it a little easier to use
d_path, and moves a tiny bit of #ifdef cruft away from real code.

Change-Id: I2032eda3fef18be6e77e3bf362ec5ce641e1d76d
Reviewed-on: https://gerrit.openafs.org/13721
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/LINUX/osi_compat.h
src/afs/LINUX/osi_misc.c