X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=mm%2Fpage_alloc.c;h=918330f71dbae794a99139c1d708da0f16961a29;hb=d8a0b3e41b7cac5dcd6408073f70818bb9675f25;hp=a712fb9e04ce4c6914c34b4a80f5526c7b49f346;hpb=59068e369b6a2a0a15b93624887525d9ec0f36e5;p=karo-tx-linux.git diff --git a/mm/page_alloc.c b/mm/page_alloc.c index a712fb9e04ce..918330f71dba 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -5203,7 +5203,7 @@ int percpu_pagelist_fraction_sysctl_handler(ctl_table *table, int write, int ret; ret = proc_dointvec_minmax(table, write, buffer, length, ppos); - if (!write || (ret == -EINVAL)) + if (!write || (ret < 0)) return ret; for_each_populated_zone(zone) { for_each_possible_cpu(cpu) {