From: Alex Elder Date: Wed, 30 Jan 2013 17:13:33 +0000 (-0600) Subject: libceph: add a compatibility check interface X-Git-Tag: v3.9-rc1~41^2~21^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72fe25e3460c8673984370208e0e6261101372d6;p=pandora-kernel.git libceph: add a compatibility check interface An upcoming change implements semantic change that could lead to a crash if an old version of the libceph kernel module is used with a new version of the rbd kernel module. In order to preclude that possibility, this adds a compatibilty check interface. If this interface doesn't exist, the modules are obviously not compatible. But if it does exist, this provides a way of letting the caller know whether it will operate properly with this libceph module. Perhaps confusingly, it returns false right now. The semantic change mentioned above will make it return true. This resolves: http://tracker.ceph.com/issues/3800 Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed