diff options
author | Christoph Hellwig <[email protected]> | 2020-11-16 15:57:00 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-11-16 08:34:14 -0700 |
commit | dcbddf541f18e367ac9cdad8e223d382cd303161 (patch) | |
tree | 3d5a1e14a57ba5953c02b1414dc0f8e30aa2dab6 /tools/lib/api/debug.c | |
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 <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions