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)
commit9442b739207aab6b1053abf858a238e7642fbcd1
tree1de4b7b6392eb814fbf2dd814f1c2666bc9c1146
parentee5242360424b9b967454e9183767323d10cf985
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