sys/dev/disk/dm: Refactor dmioctl()
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 11 Oct 2015 13:09:34 +0000 (22:09 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 14 Oct 2015 19:06:05 +0000 (04:06 +0900)
commit033bbf9ecbc341389715a9ecfd913cc554f36b7b
tree2429fb57822c2ac9da17bd138f2673855cba7d03
parentf5c5b724ebe5c764afc3cb64b9f6aa3f266ad9aa
sys/dev/disk/dm: Refactor dmioctl()

Get rid of if-nest and goto.
This function can be implemented without if-nest and goto,
and this is way easier to understand without lots of comments.
sys/dev/disk/dm/device-mapper.c