diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2008-04-24 16:43:49 -0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2008-04-25 08:26:52 -0400 |
commit | 945fa4d283a3a472186c11028f6fea1e77a91d14 (patch) | |
tree | 99af5b3623665680417a61a43f5effcfbeba903b /drivers/md/dm.h | |
parent | 08d8757a4d52d21d825b9170af36f2696d1da1a8 (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.h | 3 |
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); | |||
195 | int dm_dirty_log_init(void); | 195 | int dm_dirty_log_init(void); |
196 | void dm_dirty_log_exit(void); | 196 | void dm_dirty_log_exit(void); |
197 | 197 | ||
198 | int dm_kcopyd_init(void); | ||
199 | void dm_kcopyd_exit(void); | ||
200 | |||
198 | #endif | 201 | #endif |