vol: Avoid building devname.c on AFS_NAMEI_ENV 95/13995/4
authorAndrew Deason <adeason@dson.org>
Sat, 21 Dec 2019 03:02:45 +0000 (21:02 -0600)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 29 May 2020 04:34:41 +0000 (00:34 -0400)
commit80afdc2adabb098394e1b2178ba301964868befe
tree051a35716c86d8cd21041277d15fbdfcc672c714
parent99eedfdb1659dd48d12542ad063d4711d401e153
vol: Avoid building devname.c on AFS_NAMEI_ENV

Everything in devname.c is for the inode vol backend, so skip building
it when AFS_NAMEI_ENV is defined.

While we're doing this, alter the #ifdefs inside this file to assume
that we're not on XBSD, DARWIN, or LINUX, since those platforms are
all namei-only.

Change-Id: I3a46568940e1a865a381c1ac7e98aea94df9f3ef
Reviewed-on: https://gerrit.openafs.org/13995
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/vol/devname.c