]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
fix build for glibc prior to 2.33
authorAlexander Fougner <fougner89@gmail.com>
Thu, 7 Dec 2023 20:27:16 +0000 (21:27 +0100)
committerAlexander Fougner <fougner89@gmail.com>
Thu, 7 Dec 2023 20:36:47 +0000 (21:36 +0100)
Signed-off-by: Alexander Fougner <fougner89@gmail.com>
linux/shrinker.c

index 361196acb39e0e2e67c659672f4ad5bfcd7db6cc..91f633b57927a2e80879faa5348b869a4b7ef4a4 100644 (file)
@@ -69,7 +69,7 @@ void run_shrinkers(gfp_t gfp_mask, bool allocation_failed)
 {
        struct shrinker *shrinker;
        struct sysinfo info;
-       struct mallinfo2 malloc_info = mallinfo2();
+       struct mallinfo malloc_info = mallinfo();
        s64 want_shrink;
 
        if (!(gfp_mask & GFP_KERNEL))