| 1935 | } |
| 1936 | |
| 1937 | void |
| 1938 | dbuf_release_bp(dmu_buf_impl_t *db) |
| 1939 | { |
| 1940 | objset_t *os __maybe_unused = db->db_objset; |
| 1941 | |
| 1942 | ASSERT(dsl_pool_sync_context(dmu_objset_pool(os))); |
| 1943 | ASSERT(arc_released(os->os_phys_buf) || |
| 1944 | list_link_active(&os->os_dsl_dataset->ds_synced_link)); |
| 1945 | ASSERT(db->db_parent == NULL || arc_released(db->db_parent->db_buf)); |
| 1946 | |
| 1947 | (void) arc_release(db->db_buf, db); |
| 1948 | } |
| 1949 | |
| 1950 | /* |
| 1951 | * We already have a dirty record for this TXG, and we are being |
no test coverage detected