Commit 04e4651
loop: Use blk_validate_block_size() to validate block size
commit af3c570 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>1 parent 79ff56c commit 04e4651
1 file changed
Lines changed: 2 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | 231 | | |
245 | 232 | | |
246 | 233 | | |
| |||
1121 | 1108 | | |
1122 | 1109 | | |
1123 | 1110 | | |
1124 | | - | |
| 1111 | + | |
1125 | 1112 | | |
1126 | 1113 | | |
1127 | 1114 | | |
| |||
1617 | 1604 | | |
1618 | 1605 | | |
1619 | 1606 | | |
1620 | | - | |
| 1607 | + | |
1621 | 1608 | | |
1622 | 1609 | | |
1623 | 1610 | | |
| |||
0 commit comments