nbd: move request validity checking into nbd_send_cmd
authorChristoph Hellwig <hch@lst.de>
Tue, 31 Jan 2017 15:57:28 +0000 (16:57 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 31 Jan 2017 21:00:29 +0000 (14:00 -0700)
commit09fc54ccc42744669e748434af5c2f8adcad900f
tree539f917b366fc7836e6931fda6b7c85412040fd9
parent27410a8927fb89bd150de08d749a8ed7f67b7739
nbd: move request validity checking into nbd_send_cmd

This is where we do the rest of the request handling, which will
become much simpler soon, too.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nbd.c