dm: add presuspend_undo hook to target_type
authorMike Snitzer <snitzer@redhat.com>
Wed, 29 Oct 2014 00:13:31 +0000 (20:13 -0400)
committerMike Snitzer <snitzer@redhat.com>
Wed, 19 Nov 2014 16:24:59 +0000 (11:24 -0500)
commitd67ee213fa5700c7da526fe5bcccd485cfa63d8b
tree9ba735535bac6b904191702006275ec8115d9803
parent4d341d8216336174d35cd2575b6b9e4267a88ac8
dm: add presuspend_undo hook to target_type

The DM thin-pool target now must undo the changes performed during
pool_presuspend() so introduce presuspend_undo hook in target_type.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
drivers/md/dm-table.c
drivers/md/dm.c
drivers/md/dm.h
include/linux/device-mapper.h
include/uapi/linux/dm-ioctl.h