zfsonlinux/zfs — pull request #1044 by yshui (2012-10-14 11:28:20+00:00)
Title: Return positive error number in zfsctl_shares_lookup.

Otherwise it will cause zpl_shares_lookup to return a invalid pointer
when an error occurs.