librbd: implement image.snap_exists()

This is a much more convenient way to tell if a snapshot already exists.

Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2013-03-28 21:17:21 -07:00 committed by Josh Durgin
parent c5bd978a1d
commit 3694968a05
5 changed files with 27 additions and 0 deletions