summaryrefslogtreecommitdiff
path: root/kernel/kprobes.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2020-04-20 16:02:21 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-21 10:53:05 +0200
commit9ed36a3b85e2934b511cd83374df8cd632fc4f7b (patch)
treefcd4c8136642f228954f46777dd70c98edc6c558 /kernel/kprobes.c
parente8f18159737d57154d7947eb936fa9fc51a95de2 (diff)
ext2: fix missing percpu_counter_inc
commit bc2fbaa4d3808aef82dd1064a8e61c16549fe956 upstream. sbi->s_freeinodes_counter is only decreased by the ext2 code, it is never increased. This patch fixes it. Note that sbi->s_freeinodes_counter is only used in the algorithm that tries to find the group for new allocations, so this bug is not easily visible (the only visibility is that the group finding algorithm selects inoptinal result). Link: https://lore.kernel.org/r/alpine.LRH.2.02.2004201538300.19436@file01.intranet.prod.int.rdu2.redhat.com Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions