]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - fs/ceph/super.h
Merge branch 'akpm' (patches from Andrew)
[mirror_ubuntu-jammy-kernel.git] / fs / ceph / super.h
index 79a265ba92006b309796c525a5a2db3e9522f076..dfb64a5211b61e19f0fd03e26093fa261d6591bf 100644 (file)
@@ -810,7 +810,7 @@ static inline int default_congestion_kb(void)
         * This allows larger machines to have larger/more transfers.
         * Limit the default to 256M
         */
-       congestion_kb = (16*int_sqrt(totalram_pages)) << (PAGE_SHIFT-10);
+       congestion_kb = (16*int_sqrt(totalram_pages())) << (PAGE_SHIFT-10);
        if (congestion_kb > 256*1024)
                congestion_kb = 256*1024;