Rich Ercolani f1ca7999bb
Fix unfortunate NULL in spa_update_dspace
After 1325434b, we can in certain circumstances end up calling
spa_update_dspace with vd->vdev_mg NULL, which ends poorly during
vdev removal.

So let's not do that further space adjustment when we can't.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #12380 
Closes #12428
2021-07-26 10:51:30 -07:00
..
2021-01-26 16:12:26 -08:00
2021-07-23 15:28:03 -07:00
2020-06-10 09:24:15 -07:00
2021-04-02 18:52:15 -07:00
2021-06-25 22:28:12 -07:00
2020-06-10 09:24:15 -07:00
2020-08-20 10:30:06 -07:00