View | Details | Raw Unified
Collapse All | Expand All

(-) cloop-2.05~20060829/compressed_loop.c (-2 / +1 lines)
 Lines 814-821   static void __exit cloop_exit(void) Link Here 
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
    devfs_remove(cloop_name);
    devfs_remove(cloop_name);
#endif
#endif
    if(unregister_cloop_blkdev() != 0)
    unregister_cloop_blkdev();
        printk(KERN_WARNING "%s: cannot unregister block device\n", cloop_name);
    for(i=0;i<max_cloop;i++)
    for(i=0;i<max_cloop;i++)
    {
    {
        del_gendisk(cloop_dev[i].disk);
        del_gendisk(cloop_dev[i].disk);