diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2024-09-11 19:34:40 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-09-11 19:45:07 +0300 |
commit | 7a07210bbcb35c0075830bb94b5321978164cb60 (patch) | |
tree | acfbaaeff4e80bfdef56632c62c5ea2b04e98004 /rust/helpers/helpers.c | |
parent | a12c883a0a6a005cfb3ad01feaf783e2248bfc3e (diff) | |
download | linux-7a07210bbcb35c0075830bb94b5321978164cb60.tar.xz |
block: introduce blk_validate_byte_range()
In preparation to further changes extract a helper function out of
blk_ioctl_discard() that validates if we can do IO against the given
range of disk byte addresses.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/19a7779323c71e742a2f511e4cf49efcfd68cfd4.1726072086.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions