]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: correct encoding of snap protection record in exporting image 43907/head
authorSatoru Takeuchi <satoru.takeuchi@gmail.com>
Fri, 12 Nov 2021 12:08:33 +0000 (12:08 +0000)
committerSatoru Takeuchi <satoru.takeuchi@gmail.com>
Sat, 13 Nov 2021 22:09:04 +0000 (22:09 +0000)
commitb80c3b84382b775ae781c3fa042b09fdbfdc0a69
treecb0ad6baa1f96b6242fb462bbf608e47e0dd9fea
parent9a4b3c1926c8b8e4a742eea775d7484fd3f6bfea
rbd: correct encoding of snap protection record in exporting image

Correct the size of `protection` field. This bug is harmless since Export/Import writes/reads
one byte for `protected` field regardless of `length` field. So the current wrong diff works
correctly by chance

Fixes: https://tracker.ceph.com/issues/53243
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
src/tools/rbd/action/Export.cc