]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Avoid dev/inode check on btrfs with --sanity-level=3 VALGRIND_3_23_BRANCH
authorMark Wielaard <mark@klomp.org>
Thu, 4 Jul 2024 13:21:39 +0000 (15:21 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 5 Jul 2024 10:08:08 +0000 (12:08 +0200)
commita62058256f2c1bbc00757dfe89d505d5c6eb9906
treedd9230b828997e82c3092001dbc8636336fbb5ff
parentfdd27bab5f134fda0098f9c3a5c36199e3205fea
Avoid dev/inode check on btrfs with --sanity-level=3

With --sanity-level=3 or higher the aspacemgr sanity checks the
device/inode numbers from /proc/self/maps to the file stat
results. These don't match on btrfs. So detect when a file is on a
btrfs volume and ignore the check in that case.

https://bugs.kde.org/show_bug.cgi?id=317127
(cherry picked from commit 3b06d458ffc5cc8de8d701926e5d86979185fa04)
NEWS
coregrind/m_aspacemgr/aspacemgr-linux.c
include/vki/vki-linux.h