sys/dev/disk/dm: Don't force targets to implement table handler
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 7 Nov 2015 17:37:59 +0000 (02:37 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 7 Nov 2015 18:09:55 +0000 (03:09 +0900)
commiteca20b991b43999389bbc881760d9e5aa9ed5d9d
tree9760c340f2273561d660e7de3c2c794c11fbe312
parent81d31d56c8a0767ea6f3a9975f693f6154f3c30a
sys/dev/disk/dm: Don't force targets to implement table handler

All targets implementing table handler is redundant as some
of them don't need to do anything. Avoid it by a simple NULL
check, just like what's been done to other handlers.
sys/dev/disk/dm/dm_ioctl.c
sys/dev/disk/dm/dm_target_error.c
sys/dev/disk/dm/dm_target_zero.c