commit | dcbddf541f18e367ac9cdad8e223d382cd303161 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Nov 16 15:57:00 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Nov 16 08:34:14 2020 -0700 |
tree | 3d5a1e14a57ba5953c02b1414dc0f8e30aa2dab6 | |
parent | 2dc691cc4ac259f8b5bb0bd8670645af894d30eb [diff] |
nbd: validate the block size in nbd_set_size Move the validation of the block from the callers into nbd_set_size. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>