Commit 3a074cc
btrfs: use saner variable type and name to indicate extrefs at add_inode_ref()
We are using a variable named 'log_ref_ver' of type int to indicate if we
are processing an extref item or not, using a value of 1 if so, otherwise
0. This is an odd name and type, so rename it to 'is_extref_item' and
change its type to bool.
Reviewed-by: Boris Burkov <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>1 parent 24e066d commit 3a074cc
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1385 | 1385 | | |
1386 | 1386 | | |
1387 | 1387 | | |
1388 | | - | |
| 1388 | + | |
1389 | 1389 | | |
1390 | 1390 | | |
1391 | 1391 | | |
| |||
1394 | 1394 | | |
1395 | 1395 | | |
1396 | 1396 | | |
1397 | | - | |
| 1397 | + | |
1398 | 1398 | | |
1399 | 1399 | | |
1400 | 1400 | | |
1401 | | - | |
1402 | 1401 | | |
1403 | 1402 | | |
1404 | 1403 | | |
| |||
1430 | 1429 | | |
1431 | 1430 | | |
1432 | 1431 | | |
1433 | | - | |
| 1432 | + | |
1434 | 1433 | | |
1435 | 1434 | | |
1436 | 1435 | | |
| |||
1505 | 1504 | | |
1506 | 1505 | | |
1507 | 1506 | | |
1508 | | - | |
| 1507 | + | |
1509 | 1508 | | |
1510 | 1509 | | |
1511 | 1510 | | |
| |||
0 commit comments