Commit ddc39eb3a46d699c23d39f0e914978199eb98cc6 ("QStorageInfo/Linux: fix mountedVolumes() for paths mounted over") added a clever check that did stat() on the path to figure out if it was the device that we'd just found on /proc/self/mountinfo. But if the same device was mounted on top again, we may have got the wrong answer. More importantly, since kernel 6.9, btrfs subvolume mounts no longer report the subvolume's block ID in /proc/self/mountinfo, which would lead us to conclude every single subvolume has been mounted-over. So let's revert back to string-matching later lines to see if any is a parent path. https://lore.kernel.org/linux-btrfs/2548140.Uh0CODmnKu@tjmaciei-mobl5/T/ Fixes: QTBUG-125721 Change-Id: If3345151ddf84c43a4f1fffd17d3d59fef4446dd Reviewed-by: Ahmad Samir <a.samirh78@gmail.com> (cherry picked from commit ad968d3602eec2b1f34a9c80606e59c5a2c76a2a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%