diff options
author | Brian Behlendorf <[email protected]> | 2017-11-15 10:19:32 -0800 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2017-11-21 13:11:29 -0600 |
commit | 841cb5ee2ae8f1d617cd1f6713c8394e3bb30127 (patch) | |
tree | 733bc3e29d16e0ca735278049d127fc6c766732d /include | |
parent | d4cf31275bffeb57825b920ef8bb6cf912e5aa2b (diff) |
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 #3125
Closes #6867
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions