Commit cf3684c
committed
md: Fix getting bitmap location on latest kernels
The 'md/bitmap/location' file no longer exists in sysfs when the
bitmap is not set. The location of the "internal" bitmap is also
slightly differet now.1 parent 49608e3 commit cf3684c
2 files changed
+13
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1476 | 1476 | | |
1477 | 1477 | | |
1478 | 1478 | | |
1479 | | - | |
1480 | | - | |
| 1479 | + | |
| 1480 | + | |
1481 | 1481 | | |
1482 | 1482 | | |
| 1483 | + | |
1483 | 1484 | | |
1484 | 1485 | | |
1485 | 1486 | | |
1486 | 1487 | | |
1487 | 1488 | | |
1488 | 1489 | | |
1489 | 1490 | | |
1490 | | - | |
1491 | 1491 | | |
1492 | | - | |
| 1492 | + | |
1493 | 1493 | | |
1494 | | - | |
1495 | | - | |
1496 | | - | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
1497 | 1501 | | |
1498 | 1502 | | |
1499 | | - | |
1500 | | - | |
1501 | 1503 | | |
1502 | 1504 | | |
1503 | 1505 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
| 479 | + | |
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | | - | |
| 491 | + | |
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| |||
0 commit comments