Repository navigation
Commit af3c570
loop: Use blk_validate_block_size() to validate block size
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>1 parent c4318d6 commit af3c570
1 file changed
Lines changed: 2 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | 275 | | |
289 | 276 | | |
290 | 277 | | |
| |||
1236 | 1223 | | |
1237 | 1224 | | |
1238 | 1225 | | |
1239 | | - | |
| 1226 | + | |
1240 | 1227 | | |
1241 | 1228 | | |
1242 | 1229 | | |
| |||
1752 | 1739 | | |
1753 | 1740 | | |
1754 | 1741 | | |
1755 | | - | |
| 1742 | + | |
1756 | 1743 | | |
1757 | 1744 | | |
1758 | 1745 | | |
| |||
0 commit comments