RE: v2v1.58 and ncpfs

Peter T. Waltenberg (p.waltenberg@irl.cri.nz)
Fri, 17 Oct 1997 08:00:19 +1300 (NZDT)


Alas, all that patch will do is let ncpfs compile. With it the machine will
still reboot if you ls an ncp mounted dir.
I.e. it's better not compiling than taking the machine out.

I'll repost my partial fixes later today. They at least get reliable read
access back.

Peter

On 16-Oct-97 Peter K wrote:
> 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);
>

----------------------------------
E-Mail: P.Waltenberg@irl.cri.nz
Date: 17-Oct-97
Time: 07:57:21
----------------------------------