summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2024-09-11 17:34:40 +0100
committerJens Axboe <axboe@kernel.dk>2024-09-11 10:45:07 -0600
commit7a07210bbcb35c0075830bb94b5321978164cb60 (patch)
treeacfbaaeff4e80bfdef56632c62c5ea2b04e98004 /usr
parenta12c883a0a6a005cfb3ad01feaf783e2248bfc3e (diff)
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 'usr')
0 files changed, 0 insertions, 0 deletions