Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for NULL in dmu_free_long_range_impl() #3627

Closed
wants to merge 1 commit into from

Conversation

behlendorf
Copy link
Contributor

A NULL should never be passed as the dnode_t pointer to the function
dmu_free_long_range_impl(). Regardless, because we have a reported
occurrence of this let's add some error handling to catch this.
Better to report a reasonable error to caller than panic the system.

Signed-off-by: Brian Behlendorf behlendorf1@llnl.gov
Issue #3445

A NULL should never be passed as the dnode_t pointer to the function
dmu_free_long_range_impl().  Regardless, because we have a reported
occurrence of this let's add some error handling to catch this.
Better to report a reasonable error to caller than panic the system.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue openzfs#3445
@behlendorf behlendorf mentioned this pull request Jul 24, 2015
@behlendorf behlendorf added this to the 0.6.5 milestone Jul 24, 2015
@behlendorf
Copy link
Contributor Author

Merged as:

c97d306 Check for NULL in dmu_free_long_range_impl()

@behlendorf behlendorf closed this Jul 28, 2015
@behlendorf behlendorf deleted the issue-3445 branch April 19, 2021 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant