]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: enabling/disabling rbd feature should report missing dependency 13157/head
authorNathan Cutler <ncutler@suse.com>
Fri, 27 Jan 2017 17:41:25 +0000 (18:41 +0100)
committerNathan Cutler <ncutler@suse.com>
Fri, 27 Jan 2017 17:41:25 +0000 (18:41 +0100)
commit99bafc1bab8eb8349e44b601f5971af97c131bd9
treeb31d77d3c42e9478992917505eda445c47cce6c0
parenta632cc41755be4393a12dd768726ade86a49bbc9
rbd: enabling/disabling rbd feature should report missing dependency

Currently while enabling or disabling rbd feature command does not
give missing dependency for eg: attempting to enable the journaling
feature on an image that doesn't have the exclusive-lock feature
enabled should give missing dependency error message.

Fixes: http://tracker.ceph.com/issues/16985
Reported-by: Jason Dillaman <dillaman@redhat.com>
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
(manual cherry pick of bd023cfec8e9aaa8fb0095a8d9534c21b3209020)
src/librbd/internal.cc