mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
the underlying zap_count() to return no errors. However, it is possible
that the pool reaches to such a state where zap_count would return error,
leading to panics when a pool is imported.
This commit changes the ddt_zap_count to return error returned from
zap_count and handle the error appropriately. With this change, it's now
possible to let zpool rollback damaged transaction groups and import the
pool.
Obtained from: ZFS on Linux github (
|
||
|---|---|---|
| .. | ||
| compat/opensolaris | ||
| contrib | ||
| lib | ||
| sbin | ||
| usr.bin | ||
| usr.sbin | ||
| Makefile | ||
| Makefile.inc | ||