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)
commit42b805af102471f53e3c7867b8c2b502ea4eef7e
tree798408370b85cd43f8e7ebf117741931bf1b86fd
parent0f2571ad7a30ff6b33cde142439f9378669f8b4f
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: 0c031fd37f69 (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