[libmultipath] embed a struct dm_info pointer in struct multipath
authorChristophe Varoqui <root@xa-s05.(none)>
Mon, 31 Oct 2005 10:44:03 +0000 (11:44 +0100)
committerChristophe Varoqui <root@xa-s05.(none)>
Mon, 31 Oct 2005 10:44:03 +0000 (11:44 +0100)
commitfdc8aeb73d42f4cfc30c1056258674ad548c44c7
tree9a4b1cab3a957b6d070f53b503e43ef1008fce82
parent30744344499082da566e5ebf5c90363d7da6a075
[libmultipath] embed a struct dm_info pointer in struct multipath

- replace dm_get_state() by a generic dm_get_info()
- move mpp->minor users to mpp->dmi->minor
- move mpp->dmstate users to mpp->dmi->suspended
- cli handlers for resume/suspend map now trigger dm_get_info()
  instead of playing directly with mpp->dmstate : more reliable
libmultipath/devmapper.c
libmultipath/devmapper.h
libmultipath/print.c
libmultipath/structs.c
libmultipath/structs.h
multipathd/cli_handlers.c
multipathd/main.c