]> git.baikalelectronics.ru Git - kernel.git/commit
md: fix double free of io_acct_set bioset
authorXiao Ni <xni@redhat.com>
Thu, 12 May 2022 09:21:09 +0000 (17:21 +0800)
committerSong Liu <song@kernel.org>
Mon, 23 May 2022 06:07:22 +0000 (23:07 -0700)
commit4b6d9230fe0af6f0eef34c3aba00fe560d35a574
tree798408370b85cd43f8e7ebf117741931bf1b86fd
parente7291081586340b123b579308890cf790343a044
md: fix double free of io_acct_set bioset

Now io_acct_set is alloc and free in personality. Remove the codes that
free io_acct_set in md_free and md_stop.

Fixes: 17b298d0664c (md: Move alloc/free acct bioset in to personality)
Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/md.c