HomeFreeBSD

Return positive error number in zfsctl_shares_lookup.

Description

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

Details

Provenance
Yuxuan Shui <yshuiv7@gmail.com>Authored on Oct 14 2012, 9:01 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 15 2012, 4:11 PM
Parents
rG26099167e6b3: Disable ztest deadman timer
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG45ca2d91cb14: Return positive error number in zfsctl_shares_lookup. (authored by Yuxuan Shui <yshuiv7@gmail.com>).Oct 15 2012, 4:11 PM