]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls_rbd: get_features needs to support legacy negative tests 4405/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 20 Apr 2015 16:40:33 +0000 (12:40 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 20 Apr 2015 16:40:33 +0000 (12:40 -0400)
commit66493b7e839d2cc6f422ca4253c011fcaf0adad1
treedff271a8efe40bac972ee79a14affd48c57c5a6f
parentb142c923443e0079d7f0dc09f73b01f29f446ec4
cls_rbd: get_features needs to support legacy negative tests

During Ceph upgrade testing, older Ceph test suites assume that
get_features will return -ENOENT if provided a missing snapshot.
Support these negative tests until the older releases are no
longer supported.

Fixes: #11380
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/cls/rbd/cls_rbd.cc
src/test/cls_rbd/test_cls_rbd.cc