patch-2.1.43 linux/fs/nfs/inode.c
Next file: linux/fs/nfs/nfsroot.c
Previous file: linux/fs/nfs/file.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Thu Jun 12 16:22:08 1997
- Orig file:
v2.1.42/linux/fs/nfs/inode.c
- Orig date:
Mon Apr 14 16:28:17 1997
diff -u --recursive --new-file v2.1.42/linux/fs/nfs/inode.c linux/fs/nfs/inode.c
@@ -316,7 +316,8 @@
nfs_refresh_inode(inode, fattr);
}
dprintk("NFS: fhget(%x/%ld ct=%d)\n",
- inode->i_dev, inode->i_ino, inode->i_count);
+ inode->i_dev, inode->i_ino,
+ atomic_read(&inode->i_count));
return inode;
}
@@ -433,7 +434,10 @@
* File system information
*/
static struct file_system_type nfs_fs_type = {
- nfs_read_super, "nfs", 0, NULL
+ "nfs",
+ FS_NO_DCACHE,
+ nfs_read_super,
+ NULL
};
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov