patch-1.3.39 linux/fs/nfs/inode.c
Next file: linux/fs/nfs/mmap.c
Previous file: linux/fs/nfs/file.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Thu Nov 9 08:24:09 1995
- Orig file:
v1.3.38/linux/fs/nfs/inode.c
- Orig date:
Fri Oct 6 14:35:16 1995
diff -u --recursive --new-file v1.3.38/linux/fs/nfs/inode.c linux/fs/nfs/inode.c
@@ -13,16 +13,7 @@
*
*/
-#ifdef MODULE
#include <linux/module.h>
-#include <linux/version.h>
-#else
-#define MOD_INC_USE_COUNT
-#define MOD_DEC_USE_COUNT
-#endif
-
-#include <asm/system.h>
-#include <asm/segment.h>
#include <linux/sched.h>
#include <linux/nfs_fs.h>
@@ -33,6 +24,9 @@
#include <linux/errno.h>
#include <linux/locks.h>
+#include <asm/system.h>
+#include <asm/segment.h>
+
extern int close_fp(struct file *filp);
static int nfs_notify_change(struct inode *, struct iattr *);
@@ -298,16 +292,13 @@
/* Every kernel module contains stuff like this. */
-char kernel_version[] = UTS_RELEASE;
-
static struct file_system_type nfs_fs_type = {
nfs_read_super, "nfs", 0, NULL
};
int init_module(void)
{
- register_filesystem(&nfs_fs_type);
- return 0;
+ return register_filesystem(&nfs_fs_type);
}
void cleanup_module(void)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this