mbox series

[0/2] md: reshape from raid0 to raid10 panic

Message ID 20220512092109.41606-1-xni@redhat.com (mailing list archive)
Headers show
Series md: reshape from raid0 to raid10 panic | expand

Message

Xiao Ni May 12, 2022, 9:21 a.m. UTC
It panic when reshaping from raid0 to other raid levels because of NULL
pointer dereference. This problem is introduce by patch
commit 0c031fd37f69 ("md: Move alloc/free acct bioset in to personality") 

Patch2 fixes a doulbe free memory problem introduced by the above patch.

Xiao Ni (2):
  md: Don't set mddev private to NULL in raid0 pers->free
  md: Double free io_acct_set bioset

 drivers/md/md.c    | 4 ----
 drivers/md/raid0.c | 1 -
 2 files changed, 5 deletions(-)