[multipathd] more flexible remove_map()
authorChristophe Varoqui <root@xa-s05.(none)>
Mon, 21 Nov 2005 09:25:54 +0000 (10:25 +0100)
committerChristophe Varoqui <root@xa-s05.(none)>
Mon, 21 Nov 2005 09:25:54 +0000 (10:25 +0100)
commit36683742da6c24bd53187c8717a0c5db887d001a
tree13fb8cdc6e52a5917edd923d6f80f4206267b9b0
parent913ed6986063d130ca308b8f03907b3841910b7e
[multipathd] more flexible remove_map()

Add two params to remove_map() :

- a function pointer to a waiter thread stop method
  NULL if you don't want to stop it (or know it is already down)
- an int purge_vec, to control the multipath vector maintenance

Also remove a superfluous block in stop_waiter_thread()

Mostly from the Edward Goggin, EMC, patch-chest.
multipathd/main.c