mm: convert totalram_pages and totalhigh_pages variables to atomic
[linux-block.git] / fs / fuse / inode.c
index 568abed20eb20a097f43c108db7f274947ad604a..76baaa6be3934eef20c1c2a327a4f3b10c9bffed 100644 (file)
@@ -824,7 +824,7 @@ static const struct super_operations fuse_super_operations = {
 static void sanitize_global_limit(unsigned *limit)
 {
        if (*limit == 0)
-               *limit = ((totalram_pages << PAGE_SHIFT) >> 13) /
+               *limit = ((totalram_pages() << PAGE_SHIFT) >> 13) /
                         sizeof(struct fuse_req);
 
        if (*limit >= 1 << 16)