dm-mpath.c (a9de18eb761f7c1c860964b2e5addc1a35c7e861) | dm-mpath.c (10d3bd09a3c25df114f74f7f86e1b58d070bef32) |
---|---|
1/* 2 * Copyright (C) 2003 Sistina Software Limited. 3 * Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved. 4 * 5 * This file is released under the GPL. 6 */ 7 8#include <linux/device-mapper.h> --- 1481 unchanged lines hidden (view full) --- 1490 multipath_target.version[0], multipath_target.version[1], 1491 multipath_target.version[2]); 1492 1493 return r; 1494} 1495 1496static void __exit dm_multipath_exit(void) 1497{ | 1/* 2 * Copyright (C) 2003 Sistina Software Limited. 3 * Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved. 4 * 5 * This file is released under the GPL. 6 */ 7 8#include <linux/device-mapper.h> --- 1481 unchanged lines hidden (view full) --- 1490 multipath_target.version[0], multipath_target.version[1], 1491 multipath_target.version[2]); 1492 1493 return r; 1494} 1495 1496static void __exit dm_multipath_exit(void) 1497{ |
1498 int r; 1499 | |
1500 destroy_workqueue(kmpath_handlerd); 1501 destroy_workqueue(kmultipathd); 1502 | 1498 destroy_workqueue(kmpath_handlerd); 1499 destroy_workqueue(kmultipathd); 1500 |
1503 r = dm_unregister_target(&multipath_target); 1504 if (r < 0) 1505 DMERR("target unregister failed %d", r); | 1501 dm_unregister_target(&multipath_target); |
1506 kmem_cache_destroy(_mpio_cache); 1507} 1508 1509module_init(dm_multipath_init); 1510module_exit(dm_multipath_exit); 1511 1512MODULE_DESCRIPTION(DM_NAME " multipath target"); 1513MODULE_AUTHOR("Sistina Software <dm-devel@redhat.com>"); 1514MODULE_LICENSE("GPL"); | 1502 kmem_cache_destroy(_mpio_cache); 1503} 1504 1505module_init(dm_multipath_init); 1506module_exit(dm_multipath_exit); 1507 1508MODULE_DESCRIPTION(DM_NAME " multipath target"); 1509MODULE_AUTHOR("Sistina Software <dm-devel@redhat.com>"); 1510MODULE_LICENSE("GPL"); |