patch-2.1.51 linux/fs/ncpfs/sock.c

Next file: linux/fs/nfs/dir.c
Previous file: linux/fs/ncpfs/mmap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.50/linux/fs/ncpfs/sock.c linux/fs/ncpfs/sock.c
@@ -102,7 +102,7 @@
 	struct ncp_reply_header reply;
 
 	file = server->ncp_filp;
-	inode = file->f_inode;
+	inode = file->f_dentry->d_inode;
 	sock = &inode->u.socket_i;
 	if (!sock) {
 		printk("ncp_rpc_call: socki_lookup failed\n");

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov