From: Hugh Dickins Date: Thu, 16 Jan 2014 23:26:48 +0000 (-0800) Subject: percpu_counter: unbreak __percpu_counter_add() X-Git-Tag: v3.13~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1969a84dd6a44d375aa82bba7d6c38713a429c3;p=pandora-kernel.git percpu_counter: unbreak __percpu_counter_add() Commit 74e72f894d56 ("lib/percpu_counter.c: fix __percpu_counter_add()") looked very plausible, but its arithmetic was badly wrong: obvious once you see the fix, but maddening to get there from the weird tmpfs ENOSPCs Signed-off-by: Hugh Dickins Cc: Ming Lei Cc: Paul Gortmaker Cc: Shaohua Li Cc: Jens Axboe Cc: Fan Du Cc: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed