diff options
author | Brian Behlendorf <[email protected]> | 2010-08-26 10:34:33 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-08-31 08:38:47 -0700 |
commit | 8a8f5c6b3ca44248b47a4a65515d7828803c71ff (patch) | |
tree | f882882ab7f2e06060756a2356e29ef1f90f0e37 /cmd | |
parent | 5cc556b447380bf5fed181d3aa5f138618cd69c8 (diff) |
Fix zfs_ioc_objset_stats
Interestingly this looks like an upstream bug as well. If for some
reason we are unable to get a zvols statistics, because perhaps the
zpool is hopelessly corrupt, we would trigger the VERIFY. This
commit adds the proper error handling just to propagate the error
back to user space. Now the user space tools still must handle this
properly but in the worst case the tool will crash or perhaps have
some missing output. That's far far better than crashing the host.
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions