Re: [PATCH] Re: ac19: devfs compile error

From: Xuan Baldauf (xuan--reiserfs@baldauf.org)
Date: Thu Jun 15 2000 - 09:46:53 EST


Thanx,

that works for compiling. If I do not complain, it'll work also after reboot. :o)

Xuân. :o)

Francois romieu wrote:

> The Thu, Jun 15, 2000 at 11:52:59AM +0200, Xuan Baldauf wrote :
> [...]
> > I just encountered a compile error for linux-2.4.0-test1-ac19:
> >
> > <quote>
> > make -C devfs
> [...]
> > make[3]: Leaving directory `/usr/src/linux-2.4.0-test1/fs/devfs'
> > make[2]: *** [first_rule] Error 2
> > make[2]: Leaving directory `/usr/src/linux-2.4.0-test1/fs/devfs'
> > make[1]: *** [_subdir_devfs] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.4.0-test1/fs'
> > make: *** [_dir_fs] Error 2
> > </quote>
>
> diff -u --recursive linux-2.4.0-test1-ac19.orig/fs/devfs/base.c linux-2.4.0-test
> 1-ac19/fs/devfs/base.c
> --- linux-2.4.0-test1-ac19.orig/fs/devfs/base.c Thu Jun 15 08:17:08 2000
> +++ linux-2.4.0-test1-ac19/fs/devfs/base.c Thu Jun 15 09:16:47 2000
> @@ -2640,7 +2640,7 @@
> file->f_op = &def_blk_fops;
> if (df->ops) inode->i_bdev->bd_op = df->ops;
> }
> - else file->f_op = fops_get(df->ops);
> + else file->f_op = fops_get((struct file_operations *)df->ops);
> if (file->f_op)
> err = file->f_op->open ? (*file->f_op->open) (inode, file) : 0;
> else
>
> ?
>
> --
> Ueimor

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:35 EST