Commit ce8ecd3
committed
mds: fix ineffective 'false' parameter due to virtual inheritance
In MDCacheIOContext subclasses, the track parameter, when set to false,
is ignored due to C++ virtual inheritance. Only the most-derived class can
initialize virtual bases.
This commit ensures all subclasses adopt the default track = true,
eliminating confusion and potential errors from non-functional constructor
parameters.
Signed-off-by: izxl007 <[email protected]>1 parent 5abc34b commit ce8ecd3
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6657 | 6657 | | |
6658 | 6658 | | |
6659 | 6659 | | |
6660 | | - | |
| 6660 | + | |
6661 | 6661 | | |
6662 | 6662 | | |
6663 | 6663 | | |
| |||
6672 | 6672 | | |
6673 | 6673 | | |
6674 | 6674 | | |
6675 | | - | |
| 6675 | + | |
6676 | 6676 | | |
6677 | 6677 | | |
6678 | 6678 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1614 | 1614 | | |
1615 | 1615 | | |
1616 | 1616 | | |
1617 | | - | |
| 1617 | + | |
1618 | 1618 | | |
1619 | 1619 | | |
1620 | 1620 | | |
| |||
0 commit comments