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

openzfs 6873 - zfs_destroy_snaps_nvl leaks errlist #4614

Closed
wants to merge 2 commits into from

Conversation

rtvd
Copy link
Contributor

@rtvd rtvd commented May 7, 2016

Porting from openzfs

behlendorf and others added 2 commits May 8, 2016 00:40
Commit e0ab3ab introduced two blocks of code which are only needed
when debugging is enabled.  These blocks should be wrapped with
ZFS_DEBUG for clarity and to prevent unused variable warnings in
a production build.

Signed-off-by: Don Brady <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#4515
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Paul Dagnelie <[email protected]>

lzc_destroy_snaps() returns an nvlist in errlist.
zfs_destroy_snaps_nvl() should nvlist_free() it before returning.

Closes openzfs#84
@behlendorf behlendorf closed this in b3744ae May 9, 2016
@behlendorf
Copy link
Contributor

LGTM. Merged.

@rtvd rtvd deleted the openzfs-6873 branch May 14, 2016 19:20
ryao pushed a commit to ClusterHQ/zfs that referenced this pull request Jun 7, 2016
Authored by: Chris Williamson <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Paul Dagnelie <[email protected]>
Ported-by: Denys Rtveliashvili <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>

lzc_destroy_snaps() returns an nvlist in errlist.
zfs_destroy_snaps_nvl() should nvlist_free() it before returning.

OpenZFS-issue: https://www.illumos.org/issues/6873
OpenZFS-commit: openzfs/openzfs@ee06391
Closes openzfs#4614
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.

3 participants