Re: Linux 2.5.5-dj3 - ide_fops

From: Martin Dalecki (dalecki@evision-ventures.com)
Date: Thu Mar 07 2002 - 11:25:21 EST


Ben Clifford wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Here's another one.
>
> 2.5.5-dj3 removes EXPORT_SYMBOL(ide_fops)
>
> but doesn't remove ide_fops from the code.
>
> Hence modprobe ide-cd doesn't work.
>

Wow! I have found the following in ide-cd.c

        devinfo->de = devfs_register(drive->de, "cd", DEVFS_FL_DEFAULT,
                                     HWIF(drive)->major, minor,
                                     S_IFBLK | S_IRUGO | S_IWUGO,
                                     ide_fops, NULL);

So in fact we are devfs_registering the ide-cd rom driver *twice*.
The proper resolution will most propably be to remove this info
there and to use this only in ide.c.

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



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:01:04 EST