]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: re-read image header in get_snapc, and call it after snap create and remove
authorJosh Durgin <josh.durgin@dreamhost.com>
Wed, 2 Feb 2011 02:53:49 +0000 (18:53 -0800)
committerYehuda Sadeh <yehuda.sadeh@dreamhost.com>
Mon, 7 Feb 2011 23:13:01 +0000 (15:13 -0800)
commit4994174e5d0b6740dc497546a910b79d6cb1854c
treecd3fc175ff0871dc4086e7757d86143a125d757f
parent6de5908cec6a0c3caea4bf36bdf967f0bb173193
librbd: re-read image header in get_snapc, and call it after snap create and remove

This fixes a bug with image context in which the snap info
in the image header showed fewer snapshots than it should have.
src/librbd.cc