RCSID
("$Header$");
+#ifdef AFS_LINUX24_ENV
#include "h/module.h" /* early to avoid printf->printk mapping */
+#endif
#include "afs/sysincludes.h" /* Standard vendor system headers */
#include "afsincludes.h" /* Afs-based standard headers */
#include "afs/afs_stats.h" /* afs statistics */
afs_InactiveVCache(vcp, credp);
ObtainWriteLock(&vcp->lock, 504);
ip->i_nlink = 0; /* iput checks this after calling this routine. */
+#ifdef I_CLEAR
ip->i_state = I_CLEAR;
+#endif
ReleaseWriteLock(&vcp->lock);
crfree(credp);
}
static int ioctl32_done;
#endif
+#ifdef AFS_LINUX24_ENV
static int
afsproc_init(void)
{
unregister_ioctl32_conversion(VIOC_SYSCALL32);
#endif
}
+#endif
extern asmlinkage long
afs_syscall(long syscall, long parm1, long parm2, long parm3, long parm4);
if (e) return e;
register_filesystem(&afs_fs_type);
osi_sysctl_init();
+#ifdef AFS_LINUX24_ENV
afsproc_init();
+#endif
return 0;
}
osi_linux_free_inode_pages(); /* Invalidate all pages using AFS inodes. */
osi_linux_free_afs_memory();
+#ifdef AFS_LINUX24_ENV
afsproc_exit();
+#endif
return;
}
#include <afsconfig.h>
#include "afs/param.h"
#endif
+#ifdef AFS_LINUX24_ENV
#include <linux/module.h> /* early to avoid printf->printk mapping */
#ifndef OSI_PROBE_STANDALONE
#include "afs/sysincludes.h"
module_init(osi_probe_init);
module_exit(osi_probe_exit);
#endif
+#endif
RCSID
("$Header$");
+#ifdef AFS_LINUX24_ENV
#include <linux/module.h> /* early to avoid printf->printk mapping */
+#endif
#include "afs/sysincludes.h"
#include "afsincludes.h"
#include "h/unistd.h" /* For syscall numbers. */
#endif
{
#if !defined(AFS_LINUX24_ENV)
- struct statfs stat;
+ struct statfs stat, *statp;
if (size < sizeof(struct statfs))
return;
#if defined(AFS_LINUX22_ENV)
{
struct inode *ip = AFSTOI(tvc);
+#if defined(AFS_LINUX24_ENV)
struct address_space *mapping = &ip->i_data;
+#endif
#if defined(AFS_LINUX26_ENV)
inode_init_once(ip);