patch-2.1.59 linux/fs/ncpfs/dir.c

Next file: linux/fs/nfs/dir.c
Previous file: linux/drivers/scsi/ibmmca.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.58/linux/fs/ncpfs/dir.c linux/fs/ncpfs/dir.c
@@ -216,7 +216,7 @@
 	int result = 0;
 	int i = 0;
 	int index = 0;
-	struct inode *inode = file->f_dentry->d_inode;
+	struct inode *inode = filp->f_dentry->d_inode;
 	struct ncp_dirent *entry = NULL;
 	struct ncp_server *server = NCP_SERVER(inode);
 	struct ncp_inode_info *dir = NCP_INOP(inode);

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