diff options
author | Rich Ercolani <[email protected]> | 2021-07-26 13:51:30 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-26 10:51:30 -0700 |
commit | f1ca7999bbf2f1c39e80cee176ba52fcca12ec05 (patch) | |
tree | 95bb067aa7368455528793ad940fd958ed9fce70 /module/os/linux/zfs/zpl_xattr.c | |
parent | 1b06b03a7be88f4565c2c3114b8d3f2dc9f9408a (diff) |
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 <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Rich Ercolani <[email protected]>
Closes #12380
Closes #12428
Diffstat (limited to 'module/os/linux/zfs/zpl_xattr.c')
0 files changed, 0 insertions, 0 deletions