dm-crypt.c (353816f43d1fb340ff2d9a911dd5d0799c09f6a5) dm-crypt.c (10d3bd09a3c25df114f74f7f86e1b58d070bef32)
1/*
2 * Copyright (C) 2003 Christophe Saout <christophe@saout.de>
3 * Copyright (C) 2004 Clemens Fruhwirth <clemens@endorphin.org>
4 * Copyright (C) 2006-2008 Red Hat, Inc. All rights reserved.
5 *
6 * This file is released under the GPL.
7 */
8

--- 1308 unchanged lines hidden (view full) ---

1317 kmem_cache_destroy(_crypt_io_pool);
1318 }
1319
1320 return r;
1321}
1322
1323static void __exit dm_crypt_exit(void)
1324{
1/*
2 * Copyright (C) 2003 Christophe Saout <christophe@saout.de>
3 * Copyright (C) 2004 Clemens Fruhwirth <clemens@endorphin.org>
4 * Copyright (C) 2006-2008 Red Hat, Inc. All rights reserved.
5 *
6 * This file is released under the GPL.
7 */
8

--- 1308 unchanged lines hidden (view full) ---

1317 kmem_cache_destroy(_crypt_io_pool);
1318 }
1319
1320 return r;
1321}
1322
1323static void __exit dm_crypt_exit(void)
1324{
1325 int r = dm_unregister_target(&crypt_target);
1326
1327 if (r < 0)
1328 DMERR("unregister failed %d", r);
1329
1325 dm_unregister_target(&crypt_target);
1330 kmem_cache_destroy(_crypt_io_pool);
1331}
1332
1333module_init(dm_crypt_init);
1334module_exit(dm_crypt_exit);
1335
1336MODULE_AUTHOR("Christophe Saout <christophe@saout.de>");
1337MODULE_DESCRIPTION(DM_NAME " target for transparent encryption / decryption");
1338MODULE_LICENSE("GPL");
1326 kmem_cache_destroy(_crypt_io_pool);
1327}
1328
1329module_init(dm_crypt_init);
1330module_exit(dm_crypt_exit);
1331
1332MODULE_AUTHOR("Christophe Saout <christophe@saout.de>");
1333MODULE_DESCRIPTION(DM_NAME " target for transparent encryption / decryption");
1334MODULE_LICENSE("GPL");