ceph_fuse: include mount point in client metadata

Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
John Spray 2014-09-09 17:12:02 +01:00
parent bd8c441351
commit 920cac907b

View File

@ -154,6 +154,8 @@ int main(int argc, const char **argv, const char *envp[]) {
goto out_init_failed;
}
client->update_metadata("mount_point", cfuse->get_mount_point());
// start up fuse
// use my argc, argv (make sure you pass a mount point!)
r = client->mount(g_conf->client_mountpoint.c_str());