libceph: remove dead code in osd_req_encode_op()
authorAlex Elder <elder@inktank.com>
Fri, 15 Feb 2013 17:42:30 +0000 (11:42 -0600)
committerAlex Elder <elder@inktank.com>
Mon, 18 Feb 2013 18:20:26 +0000 (12:20 -0600)
commita9f36c3ed48dbfbad4cf8ba92142873b62923300
treeb8a8952f57ca8fb394712f05a39d0b3c578c05d9
parent4c46459cae3b945e6e167f3f3a12b68f55cc5937
libceph: remove dead code in osd_req_encode_op()

In osd_req_encode_op() there are a few cases that handle osd
opcodes that are never used in the kernel.  The presence of
this code gives the impression it's correct (which really can't
be assumed), and may impose some unnecessary restrictions on
some upcoming refactoring of this code.

So delete this effectively dead code, and report uses of the
previously handled cases as unsupported.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
net/ceph/osd_client.c