nbd: cleanup ioctl handling
authorJosef Bacik <jbacik@fb.com>
Tue, 7 Feb 2017 22:10:22 +0000 (17:10 -0500)
committerJens Axboe <axboe@fb.com>
Tue, 21 Feb 2017 19:51:54 +0000 (12:51 -0700)
commitbc069435e785ec94f5dea860c04379bf7ea85fc4
tree1de4b7b6392eb814fbf2dd814f1c2666bc9c1146
parent1a2f95eb68f2adedefe60879d5d845338285a418
nbd: cleanup ioctl handling

Break the ioctl handling out into helper functions, some of these things
are getting pretty big and unwieldy.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nbd.c