libceph: rename ceph_client_id() -> ceph_client_gid()

It's gid / global_id in other places.

Signed-off-by: Ilya Dryomov <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Reviewed-by: Alex Elder <[email protected]>
This commit is contained in:
Ilya Dryomov 2016-08-12 14:59:58 +02:00
commit 033268a5f0
3 changed files with 6 additions and 5 deletions

View file

@ -3758,7 +3758,7 @@ static ssize_t rbd_client_id_show(struct device *dev,
struct rbd_device *rbd_dev = dev_to_rbd_dev(dev);
return sprintf(buf, "client%lld\n",
ceph_client_id(rbd_dev->rbd_client->client));
ceph_client_gid(rbd_dev->rbd_client->client));
}
static ssize_t rbd_pool_show(struct device *dev,