]> git.apps.os.sepia.ceph.com Git - ceph.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)
committerNathan Cutler <ncutler@suse.com>
Thu, 28 Jan 2021 11:03:17 +0000 (12:03 +0100)
commit7e0b572e29a62f372d092de9d7375ff8e8235c46
tree80a99a5051dab1968c0cc33485308ea21625ad94
parentc9e5c8a46e4f05570be344841257bca45b76f97b
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>
(cherry picked from commit f52f78caca6f9743e75c8289771375f5f582300a)
src/librbd/image/CreateRequest.cc