Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dirty check in dmu_offset_next()
The correct way to determine if a dnode is dirty is to check if any of the dn->dn_dirty_link's are active. Relying solely on the dn->dn_dirtyctx can result in the dnode being mistakenly reported as clean. Reviewed-by: Chunwei Chen <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes openzfs#3125 Closes openzfs#6867
- Loading branch information