]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
libcephfs: return error when not mounted
authorNoah Watkins <noahwatkins@gmail.com>
Sat, 1 Sep 2012 17:26:41 +0000 (10:26 -0700)
committerNoah Watkins <noahwatkins@gmail.com>
Fri, 19 Oct 2012 16:59:10 +0000 (09:59 -0700)
commitd2f0f895e45d5d338e0ab17610dc0bd35cd4f234
tree146ccda9749277141dd390e8c465dc379c0b40aa
parent0166bd06c24413d25463545eb2a64959abe173ec
libcephfs: return error when not mounted

Return an error rather than a segfault if a client uses the interface
when unmounted.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/include/cephfs/libcephfs.h
src/libcephfs.cc