]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: check command before opening the image
authorJosh Durgin <josh.durgin@dreamhost.com>
Tue, 18 Oct 2011 23:50:08 +0000 (16:50 -0700)
committerJosh Durgin <josh.durgin@dreamhost.com>
Mon, 24 Oct 2011 22:32:47 +0000 (15:32 -0700)
commit4b10cad88e8895ac4dbefe77ada73d6acad8c84c
tree07b6ae4d57e41a81854d16a178d10036739b68f2
parentdf2967a602baaffd62c6fffecf16d8698181b9f1
rbd: check command before opening the image

Now map/unmap won't use librbd, and commands that don't take --snap
will give an error when it's used.

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
src/rbd.cc