diff options
author | Christoph Hellwig <[email protected]> | 2024-07-01 18:51:15 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-07-05 00:53:15 -0600 |
commit | 73a768d5f95533574bb8ace34eb683a88c40509e (patch) | |
tree | 2847cd11af76c49f3f5f4af78151b99a6bcd4926 /scripts/bpf_doc.py | |
parent | 2f20872ed43185780a5f30581472599342c86d4a (diff) |
block: factor out a blk_write_zeroes_limit helper
Contrary to the comment in __blkdev_issue_write_zeroes, nothing here
checks for a potential bi_size overflow. Add a helper mirroring
the secure erase code for the check.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions