]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: validate order before creating an image
authorJosh Durgin <josh.durgin@inktank.com>
Fri, 8 Jun 2012 14:55:52 +0000 (07:55 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Fri, 8 Jun 2012 23:38:22 +0000 (16:38 -0700)
commit5bc34f4a9aa454253a603764c82b4cc7f25b0471
tree6f767bb960b91593a256a04279598bd4ee16fbb2
parent127b42590162f5dfbedd5f20b685575e7810ae8d
librbd: validate order before creating an image

The value must be passed, and it shouldn't be below 4k
(enforced by the command line tool already) or above the
range expressible in the header.

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