v2v1.58 and ncpfs

Peter K (pko@paradigm-sa.com)
Thu, 16 Oct 1997 13:56:18 +0200 (GMT+0200)


Hi, gang

Can we get this tiny patch into 2.1.59, please ?

--- linux/fs/ncpfs/dir.c Sun Sep 7 23:00:24 1997
+++ linux/fs/ncpfs/dir.c.new Thu Oct 16 11:30:59 1997
@@ -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);

Peter Kooiman | Voice : +27-12-672-5700/10
Paradigm Systems Technology | Fax : +27-12-663-4191/2
Pretoria, South Africa | Cell : +27-82-651-4985
Box 9984, HENNOPSMEER, 0046, RSA | e-mail : pko@paradigm-sa.com