rbd: don't treat CEPH_OSD_OP_DELETE as extent op
authorIlya Dryomov <idryomov@redhat.com>
Fri, 21 Nov 2014 19:16:43 +0000 (22:16 +0300)
committerIlya Dryomov <idryomov@redhat.com>
Wed, 17 Dec 2014 17:09:51 +0000 (20:09 +0300)
commit7464f9ac89c7b85e1670f5e761a0e54340451c9b
treef9e566cd5ab2f4b6a30e391abe1ddd1b1923581a
parent8b432189eb03d3f8c06b5f392a8e42eafe58b87f
rbd: don't treat CEPH_OSD_OP_DELETE as extent op

CEPH_OSD_OP_DELETE is not an extent op, stop treating it as such.  This
sneaked in with discard patches - it's one of the three osd ops (the
other two are CEPH_OSD_OP_TRUNCATE and CEPH_OSD_OP_ZERO) that discard
is implemented with.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Alex Elder <elder@linaro.org>
drivers/block/rbd.c