From: Alex Elder Date: Thu, 1 Nov 2012 13:39:26 +0000 (-0500) Subject: rbd: don't use ENOTSUPP X-Git-Tag: v3.8-rc1~21^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8f5c6edca34ff441e1ccdec68828e933a1b905b;p=pandora-kernel.git 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 Reviewed-by: Sage Weil --- Reading git-diff-tree failed