]> granicus.if.org Git - zfs/commit
Return positive error number in zfsctl_shares_lookup.
authorYuxuan Shui <yshuiv7@gmail.com>
Sun, 14 Oct 2012 09:01:26 +0000 (17:01 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 15 Oct 2012 16:11:56 +0000 (09:11 -0700)
commit45ca2d91cb14bcbe7a06eea6e6d24ae71f1c54bf
tree2e420745243a410b5a970cd71a385fc0bb1e3ad6
parent26099167e6b39d719ade3be2b5e087e29f1121cd
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
module/zfs/zfs_ctldir.c