aboutsummaryrefslogtreecommitdiff
path: root/website/static/security/patches/EN-23:16/openzfs.12.patch
blob: e80d6cbf6aaaf2a4054e7ed45ca7e7caba259f2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c.orig
+++ sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c
@@ -2557,7 +2557,8 @@
 	}
 
 	for (i = 0; i < TXG_SIZE; i++) {
-		if (list_link_active(&dn->dn_dirty_link[i])) {
+		if (list_link_active(&dn->dn_dirty_link[i]) ||
+		    !list_is_empty(&dn->dn_dirty_records[i])) {
 			break;
 		}
 	}