|
@@ -566,11 +566,11 @@ int ceph_print_client_options(struct seq_file *m, struct ceph_client *client)
|
|
|
}
|
|
|
EXPORT_SYMBOL(ceph_print_client_options);
|
|
|
|
|
|
-u64 ceph_client_id(struct ceph_client *client)
|
|
|
+u64 ceph_client_gid(struct ceph_client *client)
|
|
|
{
|
|
|
return client->monc.auth->global_id;
|
|
|
}
|
|
|
-EXPORT_SYMBOL(ceph_client_id);
|
|
|
+EXPORT_SYMBOL(ceph_client_gid);
|
|
|
|
|
|
/*
|
|
|
* create a fresh client instance
|
|
@@ -685,7 +685,8 @@ int __ceph_open_session(struct ceph_client *client, unsigned long started)
|
|
|
return client->auth_err;
|
|
|
}
|
|
|
|
|
|
- pr_info("client%llu fsid %pU\n", ceph_client_id(client), &client->fsid);
|
|
|
+ pr_info("client%llu fsid %pU\n", ceph_client_gid(client),
|
|
|
+ &client->fsid);
|
|
|
ceph_debugfs_client_init(client);
|
|
|
|
|
|
return 0;
|