]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - fs/quota/dquot.c
percpu_counter: add @gfp to percpu_counter_init()
[mirror_ubuntu-eoan-kernel.git] / fs / quota / dquot.c
index f2d0eee9d1f1061399c30a5af36c204c2e3bf491..8b663b2d95622f98b704ed693b1177d13cfa79dd 100644 (file)
@@ -2725,7 +2725,7 @@ static int __init dquot_init(void)
                panic("Cannot create dquot hash table");
 
        for (i = 0; i < _DQST_DQSTAT_LAST; i++) {
-               ret = percpu_counter_init(&dqstats.counter[i], 0);
+               ret = percpu_counter_init(&dqstats.counter[i], 0, GFP_KERNEL);
                if (ret)
                        panic("Cannot create dquot stat counters");
        }