diff options
author | loli10K <[email protected]> | 2019-09-16 19:46:59 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-09-16 10:46:59 -0700 |
commit | fcd37b622b9fb3a9673b483c59fb2d1a8c368177 (patch) | |
tree | 5c784151ff4b3b451298a5bc6f48d6bdc863089d /tests/runfiles | |
parent | b24771a8c9e4752456a2db69476388fb45a3f751 (diff) |
Device removal of indirect vdev panics the kernel
This commit fixes a NULL pointer dereference triggered in
spa_vdev_remove_top_check() by trying to "zpool remove" an indirect
vdev.
Reviewed-by: Matt Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #9327
Diffstat (limited to 'tests/runfiles')
-rw-r--r-- | tests/runfiles/linux.run | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run index 6f015b3b3..3e39c165e 100644 --- a/tests/runfiles/linux.run +++ b/tests/runfiles/linux.run @@ -794,7 +794,8 @@ tests = ['removal_all_vdev', 'removal_cancel', 'removal_check_space', 'removal_with_remove', 'removal_with_scrub', 'removal_with_send', 'removal_with_send_recv', 'removal_with_snapshot', 'removal_with_write', 'removal_with_zdb', 'remove_expanded', - 'remove_mirror', 'remove_mirror_sanity', 'remove_raidz'] + 'remove_mirror', 'remove_mirror_sanity', 'remove_raidz', + 'remove_indirect'] tags = ['functional', 'removal'] [tests/functional/rename_dirs] |