angler-fishThe Vulnerability History Project

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>
    
commit 9442b739207aab6b1053abf858a238e7642fbcd1
+132 -137
expand_less