Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly return ERANGE in getxattr(2)
According to the getxattr(2) man page the ERANGE errno should be returned when the size of the value buffer is to small to hold the result. Prior to this patch the implementation would just truncate the value to size bytes. Signed-off-by: Brian Behlendorf <[email protected]> Closes #1408
- Loading branch information