Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return positive error number in zfsctl_shares_lookup.
Otherwise it will cause zpl_shares_lookup() to return a invalid pointer when an error occurs. Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: Yuxuan Shui <[email protected]> Closes openzfs#626 openzfs#885 openzfs#947 openzfs#977
- Loading branch information