Commit cbad829
iomap: advance the iter directly on zero range
Modify zero range to advance the iter directly. Replace the local pos
and length calculations with direct advances and loop based on iter
state instead.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Link: https://lore.kernel.org/r/20250207143253.314068-11-bfoster@redhat.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>1 parent e60837d commit cbad829
1 file changed
+13
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1341 | 1341 | | |
1342 | 1342 | | |
1343 | 1343 | | |
1344 | | - | |
1345 | | - | |
1346 | | - | |
| 1344 | + | |
| 1345 | + | |
1347 | 1346 | | |
1348 | 1347 | | |
1349 | 1348 | | |
1350 | | - | |
1351 | 1349 | | |
1352 | | - | |
| 1350 | + | |
1353 | 1351 | | |
1354 | 1352 | | |
| 1353 | + | |
1355 | 1354 | | |
1356 | 1355 | | |
1357 | 1356 | | |
| |||
1372 | 1371 | | |
1373 | 1372 | | |
1374 | 1373 | | |
1375 | | - | |
1376 | | - | |
1377 | | - | |
1378 | | - | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
1379 | 1378 | | |
1380 | 1379 | | |
1381 | 1380 | | |
1382 | | - | |
| 1381 | + | |
1383 | 1382 | | |
1384 | 1383 | | |
1385 | 1384 | | |
| |||
1433 | 1432 | | |
1434 | 1433 | | |
1435 | 1434 | | |
1436 | | - | |
| 1435 | + | |
1437 | 1436 | | |
1438 | 1437 | | |
1439 | 1438 | | |
1440 | 1439 | | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
1441 | 1443 | | |
1442 | 1444 | | |
1443 | 1445 | | |
| |||
0 commit comments