]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
libceph: nuke bogus encoding version check in osdmap_apply_incremental()
authorIlya Dryomov <ilya.dryomov@inktank.com>
Thu, 13 Mar 2014 14:36:16 +0000 (16:36 +0200)
committerSage Weil <sage@inktank.com>
Sat, 5 Apr 2014 04:07:46 +0000 (21:07 -0700)
commit9464d00862ea6a5c0edc7118c86bdfa71a95190e
tree85225fbea983f745e108a5de981e858f6cf4ee86
parent86f1742b94dd0b4a2eb9255205d1756ddea182f8
libceph: nuke bogus encoding version check in osdmap_apply_incremental()

Only version 6 of osdmap encoding is supported, anything other than
version 6 results in an error and halts the decoding process.  Checking
if version is >= 5 is therefore bogus.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/osdmap.c