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 <behlendorf1@llnl.gov> Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com> Closes #626 #885 #947 #977
- Loading branch information