Christoph Hellwig e56f81e0b0 dm: refactor ioctl handling
This moves the call to blkdev_ioctl and the argument checking to DM core
code, and only leaves a callout to find the block device to operate on
in the targets.  This simplifies the code and allows us to pass through
ioctl-like command using other methods in the next patch.

Also split out a helper around calling the prepare_ioctl method that
will be reused for persistent reservation handling.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2015-10-31 19:05:59 -04:00
..
2015-04-22 07:59:39 +10:00
2015-10-31 19:05:59 -04:00
2015-08-13 12:32:04 -06:00
2015-10-31 19:05:59 -04:00
2015-10-31 19:05:59 -04:00
2015-10-31 19:05:59 -04:00
2015-10-31 19:05:59 -04:00
2015-10-31 19:05:59 -04:00
2015-10-31 19:05:59 -04:00
2015-08-13 12:31:57 -06:00
2015-09-11 18:15:18 -07:00
2015-08-13 12:31:57 -06:00
2015-08-13 12:31:57 -06:00