]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test_librbd_fsx: fix image closing
authorJosh Durgin <josh.durgin@inktank.com>
Fri, 22 Feb 2013 01:39:19 +0000 (17:39 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Fri, 22 Feb 2013 01:39:22 +0000 (17:39 -0800)
commit94ae72546507799667197fd941633bb1fd2520c2
tree29bc0cfe783793703b2bf9a530fd44922162d57a
parent6c08c7c1c6d354d090eb16df279d4b63ca7a355a
test_librbd_fsx: fix image closing

Always close the image we opened in check_clone(), and check the
return code of the rbd_close() called before cloning.

Refs: #3958
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/test/librbd/fsx.c