diff options
author | Brian Behlendorf <[email protected]> | 2013-04-17 13:07:36 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-04-24 12:35:04 -0700 |
commit | f706421173c571371afff5e2a2ee0784c5e3f95d (patch) | |
tree | 602b28cbe4bbcbbd04ddff812f20f113ee7b5eba /include | |
parent | 254255f735c4187f00df6d230b80cae508308f31 (diff) |
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
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions