]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - linux/shrinker.c
fix build for glibc prior to 2.33
[bcachefs-tools-debian] / 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))