diff options
author | Alex Elder <elder@dreamhost.com> | 2012-11-01 08:39:26 -0500 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-12-17 12:07:32 -0600 |
commit | b8f5c6edca34ff441e1ccdec68828e933a1b905b (patch) | |
tree | 4c0c7b5f3d61ce897e0cc7b62d9312c59bb43563 /net | |
parent | 61c74035626beb25a39b0273ccf7d75510bc36a1 (diff) | |
download | op-kernel-dev-b8f5c6edca34ff441e1ccdec68828e933a1b905b.zip op-kernel-dev-b8f5c6edca34ff441e1ccdec68828e933a1b905b.tar.gz |
rbd: don't use ENOTSUPP
ENOTSUPP is not a standard errno (it shows up as "Unknown error 524"
in an error message). This is what was getting produced when the
the local rbd code does not implement features required by a
discovered rbd image.
Change the error code returned in this case to ENXIO.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions