aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorNed Bass <[email protected]>2010-11-09 14:06:13 -0800
committerBrian Behlendorf <[email protected]>2010-11-10 13:25:49 -0800
commit00ba7ef9002a7dc7919260240f58fd8f31cea24f (patch)
treeba78093df927f9f0180c6f0cc61729a495c9a150 /module
parent8655ce492fff8ebcc432cd841411634510ca09ac (diff)
Give ENOTSUP a valid user space error value
The ZFS module returns ENOTSUP for several error conditions where an operation is not (yet) supported. The SPL defined ENOTSUP in terms of ENOTSUPP, but that is an internal Linux kernel error code that should not be seen by user programs. As a result the zfs utilities print a confusing error message if an unsupported operation is attempted: internal error: Unknown error 524 Aborted This change defines ENOTSUP in terms of EOPNOTSUPP which is consistent with user space. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions