From: Heinz Mauelshagen <heinzm@xxxxxxxxxx> Signed-off-by: Heinz Mauelshagen <heinzm@xxxxxxxxxx> Signed-off-by: Mike Snitzer <snitzer@xxxxxxxxxx> --- drivers/md/dm-builtin.c | 1 - drivers/md/dm-path-selector.c | 3 +-- drivers/md/dm-target.c | 5 ++--- drivers/md/persistent-data/dm-btree.c | 1 - 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/md/dm-builtin.c b/drivers/md/dm-builtin.c index 8eb52e425141..d6aab32a8391 100644 --- a/drivers/md/dm-builtin.c +++ b/drivers/md/dm-builtin.c @@ -45,5 +45,4 @@ void dm_kobject_release(struct kobject *kobj) { complete(dm_get_completion_from_kobject(kobj)); } - EXPORT_SYMBOL(dm_kobject_release); diff --git a/drivers/md/dm-path-selector.c b/drivers/md/dm-path-selector.c index 5863f286cff4..fd4a8c448762 100644 --- a/drivers/md/dm-path-selector.c +++ b/drivers/md/dm-path-selector.c @@ -115,6 +115,7 @@ int dm_register_path_selector(struct path_selector_type *pst) return r; } +EXPORT_SYMBOL_GPL(dm_register_path_selector); int dm_unregister_path_selector(struct path_selector_type *pst) { @@ -136,6 +137,4 @@ int dm_unregister_path_selector(struct path_selector_type *pst) return 0; } - -EXPORT_SYMBOL_GPL(dm_register_path_selector); EXPORT_SYMBOL_GPL(dm_unregister_path_selector); diff --git a/drivers/md/dm-target.c b/drivers/md/dm-target.c index ef11379584b2..2ed9bd03b7c1 100644 --- a/drivers/md/dm-target.c +++ b/drivers/md/dm-target.c @@ -93,6 +93,7 @@ int dm_register_target(struct target_type *tt) up_write(&_lock); return rv; } +EXPORT_SYMBOL(dm_register_target); void dm_unregister_target(struct target_type *tt) { @@ -106,6 +107,7 @@ void dm_unregister_target(struct target_type *tt) up_write(&_lock); } +EXPORT_SYMBOL(dm_unregister_target); /* * io-err: always fails an io, useful for bringing @@ -171,6 +173,3 @@ void dm_target_exit(void) { dm_unregister_target(&error_target); } - -EXPORT_SYMBOL(dm_register_target); -EXPORT_SYMBOL(dm_unregister_target); diff --git a/drivers/md/persistent-data/dm-btree.c b/drivers/md/persistent-data/dm-btree.c index a83b45a648d7..d646d792ce51 100644 --- a/drivers/md/persistent-data/dm-btree.c +++ b/drivers/md/persistent-data/dm-btree.c @@ -496,7 +496,6 @@ int dm_btree_lookup_next(struct dm_btree_info *info, dm_block_t root, exit_ro_spine(&spine); return r; } - EXPORT_SYMBOL_GPL(dm_btree_lookup_next); /*----------------------------------------------------------------*/ -- 2.37.0 (Apple Git-136) -- dm-devel mailing list dm-devel@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/dm-devel