diff options
author | Asias He <asias@redhat.com> | 2013-02-27 12:50:56 +0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-02-27 19:12:10 -0800 |
commit | 63b91d5a492ae1cdc1ba0a0a45024718f6d1437f (patch) | |
tree | 7ed6a3f30c3fdcd8f7e806f59551ad041bd4c248 /drivers/target/target_core_pscsi.c | |
parent | fd3a9025c0349bc9b01d627529f54e6e1e389015 (diff) | |
download | linux-63b91d5a492ae1cdc1ba0a0a45024718f6d1437f.tar.gz linux-63b91d5a492ae1cdc1ba0a0a45024718f6d1437f.tar.bz2 linux-63b91d5a492ae1cdc1ba0a0a45024718f6d1437f.zip |
target: Add __exit annotation for module_exit functions
Inclues sbp_exit, fileio_module_exit, iblock_module_exit and
pscsi_module_exit.
Note: rd_module_exit() can not be annotated by __exit, becasue it is
called by target_core_init_configfs() which is annotated by __init.
Signed-off-by: Asias He <asias@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_pscsi.c')
-rw-r--r-- | drivers/target/target_core_pscsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/target_core_pscsi.c b/drivers/target/target_core_pscsi.c index 2bcfd79cf595..37575a1f038b 100644 --- a/drivers/target/target_core_pscsi.c +++ b/drivers/target/target_core_pscsi.c @@ -1178,7 +1178,7 @@ static int __init pscsi_module_init(void) return transport_subsystem_register(&pscsi_template); } -static void pscsi_module_exit(void) +static void __exit pscsi_module_exit(void) { transport_subsystem_release(&pscsi_template); } |