get_zfs_dataset() optimised path leaks zfs handle
7857 introduced an additional logic which attempts to guess the dataset name for a share path. This logic does some fudging of the path and then calls zfs_open() on the result. It does not call zfs_close() if this is successful.
Updated by Electric Monk over 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit ff524b2355c0ac08bf963297ae8e5ea2e8375852 Author: Andrew Stormont <firstname.lastname@example.org> Date: 2017-02-19T17:56:04.000Z 7857 zfs/zpool commands print scary errors after 7741 7887 get_zfs_dataset() optimised path leaks zfs handle Reviewed by: Sam Zaydel <email@example.com> Reviewed by: Matthew Ahrens <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>