[PATCH] call dm_lib_release/exit explicitly in multipath-tools
authorroot <root@xa-s05.(none)>
Mon, 16 May 2005 21:08:31 +0000 (23:08 +0200)
committerroot <root@xa-s05.(none)>
Mon, 16 May 2005 21:08:31 +0000 (23:08 +0200)
commit8d1a34dbdb43b6093c6717468f44dc249fa504ec
treefb2219aa2b06f5c8fa0f569aaf38e6527c4069c5
parent8e77fb1cb8f03263691bb182ae6ef6b6f54cc140
[PATCH] call dm_lib_release/exit explicitly in multipath-tools

multipath-tools should call dm_lib_release() and dm_lib_exit()
before it returns.  Then, libdevmapper will call update_devs()
and finalize the device node operation which creates
/dev/mapper/<map_name>.

This patch may not be needed if the latest libdevmapper of the
device-mapper CVS is used, since in the latest version,
dm_lib_exit() calls dm_lib_release() and dm_lib_exit() is called
by default when the program returns.

Regards,
Kiyoshi Ueda
kpartx/kpartx.c
multipath/main.c