mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
290a1ba9a4
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 |