]> 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)
commitaa5cb4e60455450bf32dda4f23ae07b9a7c3b6d4
tree798408370b85cd43f8e7ebf117741931bf1b86fd
parentee1561b0e67a2799625f4073a05d9927fbcc0c60
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: b018ed5a85d5 (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