diff options
author | Xie Yongji <xieyongji@bytedance.com> | 2021-10-26 17:40:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-21 15:46:35 +0300 |
commit | 04e46514fef692ccd0bca6fbab7fa1e63e5cd05a (patch) | |
tree | eea3ba7c7924438160100d36c1d85e3caaa217ec /init | |
parent | 79ff56c613c193744d6be77d4c50a7ae22d6dd01 (diff) | |
download | linux-04e46514fef692ccd0bca6fbab7fa1e63e5cd05a.tar.xz |
loop: Use blk_validate_block_size() to validate block size
commit af3c570fb0df422b4906ebd11c1bf363d89961d5 upstream.
Remove loop_validate_block_size() and use the block layer helper
to validate block size.
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Link: https://lore.kernel.org/r/20211026144015.188-4-xieyongji@bytedance.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Cc: Tadeusz Struk <tadeusz.struk@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions