diff options
author | Brian Behlendorf <[email protected]> | 2015-02-27 14:35:56 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-03-02 11:50:06 -0800 |
commit | 87a63dd702370c00322e8d1d84102075c775324b (patch) | |
tree | afe63e0010a0d178aff3699a0c751f22316fc476 /module/zfs/dmu.c | |
parent | fdc5d98253c60e45be7efe62ed428d4c2344e394 (diff) |
Prevent "zpool destroy|export" when suspended
Cleanly destroying or exporting a pool requires that the pool
not be suspended. Therefore, set the POOL_CHECK_SUSPENDED flag
for these ioctls so the utilities will output a descriptive
error message rather than block.
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #2878
Diffstat (limited to 'module/zfs/dmu.c')
0 files changed, 0 insertions, 0 deletions