Commit 16c1802
xfs: cleanup xlog_alloc_log a bit
Remove the separate head variable, move the ic_datap initialization
up a bit where the context is more obvious and remove the duplicate
memset right after a zeroing memory allocation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>1 parent be665a4 commit 16c1802
1 file changed
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1367 | 1367 | | |
1368 | 1368 | | |
1369 | 1369 | | |
1370 | | - | |
1371 | 1370 | | |
1372 | 1371 | | |
1373 | 1372 | | |
| |||
1461 | 1460 | | |
1462 | 1461 | | |
1463 | 1462 | | |
1464 | | - | |
1465 | | - | |
1466 | | - | |
1467 | | - | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
1468 | 1466 | | |
1469 | | - | |
1470 | | - | |
1471 | | - | |
1472 | | - | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
1473 | 1471 | | |
| 1472 | + | |
1474 | 1473 | | |
1475 | 1474 | | |
1476 | 1475 | | |
1477 | 1476 | | |
1478 | 1477 | | |
1479 | | - | |
1480 | 1478 | | |
1481 | 1479 | | |
1482 | 1480 | | |
| |||
0 commit comments