On Sun, Feb 25 2001, Russell King wrote: > On Sun, Feb 25, 2001 at 07:57:29PM +0000, Steve Whitehouse wrote: > > -int nbd_init(void) > > +int __init nbd_init(void) > > > -void cleanup_module(void) > > +void __exit nbd_cleanup(void) > > > + > > +module_init(nbd_init); > > +module_exit(nbd_cleanup); > > If you're using module_init/module_exit, shouldn't nbd_init/nbd_cleanup > be declared statically? And more importantly, the init calls from ll_rw_blk.c:blk_dev_init() should be removed too. -- Jens Axboe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- NBD Cleanup patch and bugfix in ll_rw_blk.c Steve Whitehouse
- Re: NBD Cleanup patch and bugfix in ll_rw_blk.c Andrea Arcangeli
- Re: NBD Cleanup patch and bugfix in ll_rw_blk.c Russell King
- Re: NBD Cleanup patch and bugfix in ll_rw_blk.c Jens Axboe
- Re: NBD Cleanup patch and bugfix in ll_rw_bl... Steve Whitehouse
- Re: NBD Cleanup patch and bugfix in ll_rw_blk.c Linus Torvalds
- Re: NBD Cleanup patch and bugfix in ll_rw_blk.c Steve Whitehouse
- Re: NBD Cleanup patch and bugfix in ll_rw_bl... Jens Axboe
- Re: NBD Cleanup patch and bugfix in ll_rw_bl... Linus Torvalds
- Re: NBD Cleanup patch and bugfix in ll_r... Jens Axboe
- Re: NBD Cleanup patch and bugfix in... Linus Torvalds
- Re: NBD Cleanup patch and bugfix in... Jens Axboe
- Re: NBD Cleanup patch and bugfi... Jens Axboe