dm-zero.c (a9de18eb761f7c1c860964b2e5addc1a35c7e861) | dm-zero.c (10d3bd09a3c25df114f74f7f86e1b58d070bef32) |
---|---|
1/* 2 * Copyright (C) 2003 Christophe Saout <christophe@saout.de> 3 * 4 * This file is released under the GPL. 5 */ 6 7#include <linux/device-mapper.h> 8 --- 55 unchanged lines hidden (view full) --- 64 if (r < 0) 65 DMERR("register failed %d", r); 66 67 return r; 68} 69 70static void __exit dm_zero_exit(void) 71{ | 1/* 2 * Copyright (C) 2003 Christophe Saout <christophe@saout.de> 3 * 4 * This file is released under the GPL. 5 */ 6 7#include <linux/device-mapper.h> 8 --- 55 unchanged lines hidden (view full) --- 64 if (r < 0) 65 DMERR("register failed %d", r); 66 67 return r; 68} 69 70static void __exit dm_zero_exit(void) 71{ |
72 int r = dm_unregister_target(&zero_target); 73 74 if (r < 0) 75 DMERR("unregister failed %d", r); | 72 dm_unregister_target(&zero_target); |
76} 77 78module_init(dm_zero_init) 79module_exit(dm_zero_exit) 80 81MODULE_AUTHOR("Christophe Saout <christophe@saout.de>"); 82MODULE_DESCRIPTION(DM_NAME " dummy target returning zeros"); 83MODULE_LICENSE("GPL"); | 73} 74 75module_init(dm_zero_init) 76module_exit(dm_zero_exit) 77 78MODULE_AUTHOR("Christophe Saout <christophe@saout.de>"); 79MODULE_DESCRIPTION(DM_NAME " dummy target returning zeros"); 80MODULE_LICENSE("GPL"); |