]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd/image: mask out all implicit features when creating an image
authorJason Dillaman <dillaman@redhat.com>
Fri, 18 Dec 2020 14:55:30 +0000 (09:55 -0500)
committerJason Dillaman <dillaman@redhat.com>
Fri, 18 Dec 2020 14:55:30 +0000 (09:55 -0500)
commitf52f78caca6f9743e75c8289771375f5f582300a
tree593e0a67e85e3b9467e75e6c364ef1e824ee5e51
parent7dd77814402f0710f9283084b45960a054078897
librbd/image: mask out all implicit features when creating an image

This will ensure that all paths to the create image state machine
properly handle this condition. Previously, it was up to the callers
of the state machine to clear the implicit feature bits.

Fixes: https://tracker.ceph.com/issues/48647
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/image/CreateRequest.cc