FIXES 50602
appropriately wrap nfs translator code in ifdefs
osi_Init();
#ifdef AFS_LINUX26_ENV
+#if !defined(AFS_NONFSTRANS)
osi_linux_nfssrv_init();
#endif
+#endif
#ifndef LINUX_KEYRING_SUPPORT
err = osi_syscall_init();
afs_destroy_inodecache();
#ifdef AFS_LINUX26_ENV
+#if !defined(AFS_NONFSTRANS)
osi_linux_nfssrv_shutdown();
#endif
+#endif
osi_linux_free_afs_memory();
#ifdef AFS_LINUX24_ENV
RCSID
("$Header$");
+#if !defined(AFS_NONFSTRANS) || defined(AFS_AIX_IAUTH_ENV)
#include <linux/module.h> /* early to avoid printf->printk mapping */
#include "afs/sysincludes.h"
#include "afsincludes.h"
ReleaseWriteLock(&afs_xnfssrv);
AFS_GUNLOCK();
}
+#endif /* AFS_NONFSTRANS */
+
RCSID
("$Header$");
+#if !defined(AFS_NONFSTRANS) || defined(AFS_AIX_IAUTH_ENV)
#include <linux/module.h> /* early to avoid printf->printk mapping */
#include "afs/sysincludes.h"
#include "afsincludes.h"
return EINVAL;
}
#endif
+#endif /* AFS_NONFSTRANS */
+
return EIO;
#ifdef AFS_LINUX26_ENV
+#if !defined(AFS_NONFSTRANS)
if (osi_linux_nfs_initreq(av, acred, &code))
return code;
#endif
+#endif
av->uid = PagInCred(acred);
if (av->uid == NOPAG) {