]> git-server-git.apps.pok.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 10:57:55 +0000 (11:57 +0100)
commit340f3f97b5bf4e8585553c01a7ef13f844735abe
tree35ad55ad54440d9b7161a67f2637a379f8a693a1
parent24ba4b197947c8f1e2198aead7cae00bcc8f71a7
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