DEVEL15-ifdef-nfs-translator-20070102
[openafs.git] / src / afs / LINUX / osi_module.c
index 6ba552c..7d9d661 100644 (file)
@@ -83,8 +83,10 @@ init_module(void)
 
     osi_Init();
 #ifdef AFS_LINUX26_ENV
+#if !defined(AFS_NONFSTRANS)
     osi_linux_nfssrv_init();
 #endif
+#endif
 
 #ifndef LINUX_KEYRING_SUPPORT
     err = osi_syscall_init();
@@ -122,8 +124,10 @@ cleanup_module(void)
 
     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