aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2008-04-24 16:43:49 -0400
committerAlasdair G Kergon <agk@redhat.com>2008-04-25 08:26:52 -0400
commit945fa4d283a3a472186c11028f6fea1e77a91d14 (patch)
tree99af5b3623665680417a61a43f5effcfbeba903b /drivers/md/dm.h
parent08d8757a4d52d21d825b9170af36f2696d1da1a8 (diff)
dm kcopyd: remove redundant client counting
Remove client counting code that is no longer needed. Initialization and destruction is made globally from dm_init and dm_exit and is not based on client counts. Initialization allocates only one empty slab cache, so there is no negative impact from performing the initialization always, regardless of whether some client uses kcopyd or not. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm.h')
-rw-r--r--drivers/md/dm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h
index 17f2d6a8b124..9a6023c9bc6b 100644
--- a/drivers/md/dm.h
+++ b/drivers/md/dm.h
@@ -195,4 +195,7 @@ void dm_kobject_uevent(struct mapped_device *md);
195int dm_dirty_log_init(void); 195int dm_dirty_log_init(void);
196void dm_dirty_log_exit(void); 196void dm_dirty_log_exit(void);
197 197
198int dm_kcopyd_init(void);
199void dm_kcopyd_exit(void);
200
198#endif 201#endif