CP-5831: Productise removal of lvm2-lvchange-idempotent.patch
CP-5831: Productise removal of lvm2-lvchange-idempotent.patch

Part of changes required to remove lvm2-lvchange-idempotent.patch.
LVM throws an error if an LV that is already RO is set to RO again
or an RW lv is set to RW. Added additional check on XS side to check
LV status before changing access permissions.

Signed-off-by: Chandrika Srinivasan <chandrika.srinivasan@citrix.com>
Reviewed-by: Thanos Makatos <thanos.makatos@citrix.com>

GitHub: closes #26 on xapi-project/sm

robertbreker/sm,germanop/sm,martinjorge/sm,germanop/sm,kostaslamda/sm,pritha-srivastava/sm,malcolmcrossley/sm,pritha-srivastava/sm,robertbreker/sm,xapi-project/sm,chandrikas/sm,djs55/sm,geosharath/sm,geosharath/sm,malcolmcrossley/sm,chandrikas/sm,BobBall/sm,geosharath/sm,siddharthv/sm,martinjorge/sm,chandrikas/sm,BobBall/sm,robertbreker/sm,BobBall/sm,pritha-srivastava/sm,xapi-project/sm,martinjorge/sm,siddharthv/sm,siddharthv/sm,kostaslamda/sm,djs55/sm,malcolmcrossley/sm,germanop/sm,kostaslamda/sm,xapi-project/sm,djs55/sm