summaryrefslogtreecommitdiffstats
path: root/config.tests/avx512
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-11-07 18:08:54 -0800
committerThiago Macieira <thiago.macieira@intel.com>2017-11-30 08:30:21 +0000
commitf984c453737bde9b39f14bd5ddabcde292b667d5 (patch)
treecee419fcd649b4d8db7106009e41707b2bb88841 /config.tests/avx512
parent498ef7f9d77fca75bcba2f657aaac38c8dc78aea (diff)
QStorageInfo: use Linux's /proc/self/mountinfo to get the subvolume
This allows us to get "subvolumes" on all filesystem types. We do that by detecting the subdirectory that was bind-mounted. /proc/self/mountinfo has been in the kernel since 2.6.26. Since btrfs was only added on 2.6.29, there is no loss of functionality for btrfs users. I've tested this with subvolume or mountpoint names containing spaces, tabs and newlines. Change-Id: I57a1bd6e0c194530b732fffd14f4fa418255d839 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'config.tests/avx512')
0 files changed, 0 insertions, 0 deletions