Use -zfs_readlink() error
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 17 Feb 2011 17:48:06 +0000 (09:48 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 17 Feb 2011 17:48:06 +0000 (09:48 -0800)
commit5095000169f695ea6b65d74da917c3f465d05aab
tree147ca67015591359597862f11a44ab4c20124afc
parentf03e41e8da6d184039ea3b03ba4937f4786a3f22
Use -zfs_readlink() error

The zfs_readlink() function returns a Solaris positive error value
and that needs to be converted to a Linux negative error value.
While in this case nothing would actually go wrong, it's still
incorrect and should be fixed if for no other reason than clarity.
module/zfs/zpl_inode.c