patch-2.1.45 linux/fs/ncpfs/mmap.c
Next file: linux/fs/nfs/dir.c
Previous file: linux/fs/namei.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Wed Jul 16 19:22:51 1997
- Orig file:
v2.1.44/linux/fs/ncpfs/mmap.c
- Orig date:
Mon Jun 16 16:35:58 1997
diff -u --recursive --new-file v2.1.44/linux/fs/ncpfs/mmap.c linux/fs/ncpfs/mmap.c
@@ -132,8 +132,8 @@
inode->i_atime = CURRENT_TIME;
inode->i_dirt = 1;
}
- vma->vm_inode = inode;
- atomic_inc(&inode->i_count);
+
+ vma->vm_dentry = dget(file->f_dentry);
vma->vm_ops = &ncp_file_mmap;
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov