When building net-fs/openafs-kernel the compiler complains about vx_rmap_pid being implicitly defined, but the module builds and installs. When the module is inserted in the kernel, it will produce the following error: libafs: Unknown symbol vx_rmap_pid Reproducible: Always Steps to Reproduce: 1. emerge vserver-sources 2. emerge openafs-kernel 3. modprobe libafs Actual Results: Kernel produces error: libafs: Unknown symbol vx_rmap_pid when trying to load the module. Expected Results: The module should load and work. Some info here: http://www.openafs.org/pipermail/openafs-info/2005-October/019749.html
Created attachment 133069 [details, diff] Allows building openafs-kernel with vserver-sources Proposed patch. It only includes <linux/vs_cvirt.h> when CONFIG_VSERVER is enabled, so it effectively does nothing at all in stock kernels or when VServer is disabled.
Looks clean, trusting you there :) Applied in net-fs/openafs-kernel-1.4.5_pre1 Thanks for the patch.