commit | b8f5c6edca34ff441e1ccdec68828e933a1b905b | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@dreamhost.com> | Thu Nov 01 08:39:26 2012 -0500 |
committer | Alex Elder <elder@inktank.com> | Mon Dec 17 12:07:32 2012 -0600 |
tree | 4c0c7b5f3d61ce897e0cc7b62d9312c59bb43563 | |
parent | 61c74035626beb25a39b0273ccf7d75510bc36a1 [diff] |
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>