MD: cleanup resources in failure
authorShaohua Li <shli@fb.com>
Wed, 13 Jun 2018 15:39:49 +0000 (08:39 -0700)
committerShaohua Li <shli@fb.com>
Mon, 18 Jun 2018 16:46:13 +0000 (09:46 -0700)
commitbfc9dfdcb6e9493de5d4fe0d3ed3ce57672f8d07
tree09026d6c62405a6697b4d2dd6198168ca3c972fb
parent9ffc59d57228d74809700be6f7ecb1db10292f05
MD: cleanup resources in failure

We need destroy the memory pool in failure

Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md.c