Skip to content

Commit

Permalink
HBSD: Pull in proposed OpenZFS change
Browse files Browse the repository at this point in the history
FreeBSD's amotine@ opened a pull request[0] with the patch in this
commit. This commit pulls in that GitHub PR.

[0]: openzfs/zfs#13513

Signed-off-by:	Shawn Webb <shawn.webb@hardenedbsd.org>
  • Loading branch information
lattera committed Jun 1, 2022
1 parent 9802f5e commit 53f119e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sys/contrib/openzfs/module/zfs/spa_log_spacemap.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,12 +511,6 @@ spa_log_summary_decrement_blkcount(spa_t *spa, uint64_t blocks_gone)
e->lse_txgcount--;
for (; e != NULL; e = list_head(&spa->spa_log_summary)) {
if (e->lse_blkcount > blocks_gone) {
/*
* Assert that we stopped at an entry that is not
* obsolete.
*/
ASSERT(e->lse_mscount != 0);

e->lse_blkcount -= blocks_gone;
blocks_gone = 0;
break;
Expand Down

0 comments on commit 53f119e

Please sign in to comment.