diff options
author | Jonathan Brassow <jbrassow@redhat.com> | 2013-04-24 11:42:43 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-04-24 11:42:43 +1000 |
commit | a91d5ac04841ca1be340e8610e6d899fc8b419b5 (patch) | |
tree | dec606649cc6e49c883b86401787dce3e4e90b0a /drivers/md/md.h | |
parent | b6d428c669159b8cfa5a83bb11abaaf4bdc170b0 (diff) | |
download | linux-a91d5ac04841ca1be340e8610e6d899fc8b419b5.tar.bz2 |
MD: Export 'md_reap_sync_thread' function
MD: Export 'md_reap_sync_thread' function
Make 'md_reap_sync_thread' available to other files, specifically dm-raid.c.
- rename reap_sync_thread to md_reap_sync_thread
- move the fn after md_check_recovery to match md.h declaration placement
- export md_reap_sync_thread
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index d90fb1a879e1..653f992b687a 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h @@ -567,6 +567,7 @@ extern struct md_thread *md_register_thread( extern void md_unregister_thread(struct md_thread **threadp); extern void md_wakeup_thread(struct md_thread *thread); extern void md_check_recovery(struct mddev *mddev); +extern void md_reap_sync_thread(struct mddev *mddev); extern void md_write_start(struct mddev *mddev, struct bio *bi); extern void md_write_end(struct mddev *mddev); extern void md_done_sync(struct mddev *mddev, int blocks, int ok); |