patch-2.1.18 linux/fs/nfs/inode.c
Next file: linux/fs/proc/procfs_syms.c
Previous file: linux/fs/ncpfs/inode.c
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Fri Dec 27 12:03:25 1996
- Orig file:
v2.1.17/linux/fs/nfs/inode.c
- Orig date:
Tue Oct 29 19:58:44 1996
diff -u --recursive --new-file v2.1.17/linux/fs/nfs/inode.c linux/fs/nfs/inode.c
@@ -42,7 +42,7 @@
static void nfs_read_inode(struct inode *);
static void nfs_statfs(struct super_block *, struct statfs *, int bufsiz);
-static struct super_operations nfs_sops = {
+static struct super_operations nfs_sops = {
nfs_read_inode, /* read inode */
nfs_notify_change, /* notify change */
NULL, /* write inode */
@@ -280,7 +280,7 @@
int error;
sattr.mode = (unsigned) -1;
- if (attr->ia_valid & ATTR_MODE)
+ if (attr->ia_valid & ATTR_MODE)
sattr.mode = attr->ia_mode;
sattr.uid = (unsigned) -1;
@@ -360,13 +360,11 @@
}
#ifdef MODULE
+EXPORT_NO_SYMBOLS;
+
int init_module(void)
{
- int status;
-
- if ((status = init_nfs_fs()) == 0)
- register_symtab(0);
- return status;
+ return init_nfs_fs();
}
void cleanup_module(void)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov