commit | 602586a83b719df0fbd94196a1359ed35aeb2df3 | [log] [tgz] |
---|---|---|
author | Hugh Dickins <hughd@google.com> | Tue Aug 17 15:23:56 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Aug 17 18:33:11 2010 -0700 |
tree | 1ff381d77769e352397edd2f6a7aa8ca5ba929f1 | |
parent | 19147d0eb1472eac690a9a708893d4de096bbfcf [diff] |
shmem: put_super must percpu_counter_destroy list_add() corruption messages reported from shmem_fill_super()'s recently introduced percpu_counter_init(): shmem_put_super() needs to remember to percpu_counter_destroy(). And also check error from percpu_counter_init(). Reported-bisected-and-tested-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>