go-ceph/cephfs
John Mulligan 2ad8361692 cephfs: make the Release function more idempotent to callers
Previously, calling Release more than once for the same MountInfo would
abort due to a double free in the ceph libs. As this is somewhat user
hostile we add some simple state tracking in our wrapper type such that
one can make redundant calls to Release without crashing the
application.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-04-06 16:29:26 -04:00
..
cephfs.go cephfs: make the Release function more idempotent to callers 2020-04-06 16:29:26 -04:00
cephfs_test.go cephfs: make the Release function more idempotent to callers 2020-04-06 16:29:26 -04:00
conn_nautilus.go cephfs: add GetFsCid to implement ceph_get_fs_cid 2020-02-24 10:18:48 +01:00
conn_nautilus_test.go cephfs: release fs resources in remaining test cases 2020-04-06 16:29:26 -04:00
doc.go cephfs: add a doc.go file documenting the package 2020-01-28 16:10:39 +01:00