patch-2.1.56 linux/fs/ncpfs/mmap.c
Next file: linux/fs/nfs/file.c
Previous file: linux/fs/ncpfs/file.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sat Sep 13 11:07:28 1997
- Orig file:
v2.1.55/linux/fs/ncpfs/mmap.c
- Orig date:
Thu Sep 11 09:02:23 1997
diff -u --recursive --new-file v2.1.55/linux/fs/ncpfs/mmap.c linux/fs/ncpfs/mmap.c
@@ -116,8 +116,10 @@
/* This is used for a general mmap of a ncp file */
-int ncp_mmap(struct inode *inode, struct file *file, struct vm_area_struct *vma)
+int ncp_mmap(struct file *file, struct vm_area_struct *vma)
{
+ struct inode *inode = file->f_dentry->d_inode;
+
DPRINTK("ncp_mmap: called\n");
if (!ncp_conn_valid(NCP_SERVER(inode))) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov