aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/debugfs.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-07-08 13:00:18 -0700
committerSage Weil <sage@newdream.net>2010-08-01 20:11:42 -0700
commita8b763a9b34561fea8e616c1439a71913ff2c1bd (patch)
treef8c90178e33cf7138296a9f36cf2cdc2d21d0408 /fs/ceph/debugfs.c
parentceph: sync header defs with server code (diff)
downloadlinux-dev-a8b763a9b34561fea8e616c1439a71913ff2c1bd.tar.xz
linux-dev-a8b763a9b34561fea8e616c1439a71913ff2c1bd.zip
ceph: use %pU to print uuid (fsid)
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/debugfs.c')
-rw-r--r--fs/ceph/debugfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ceph/debugfs.c b/fs/ceph/debugfs.c
index f2f5332ddbba..968dc5a86c3e 100644
--- a/fs/ceph/debugfs.c
+++ b/fs/ceph/debugfs.c
@@ -361,8 +361,8 @@ int ceph_debugfs_client_init(struct ceph_client *client)
int ret = 0;
char name[80];
- snprintf(name, sizeof(name), FSID_FORMAT ".client%lld",
- PR_FSID(&client->fsid), client->monc.auth->global_id);
+ snprintf(name, sizeof(name), "%pU.client%lld", &client->fsid,
+ client->monc.auth->global_id);
client->debugfs_dir = debugfs_create_dir(name, ceph_debugfs_dir);
if (!client->debugfs_dir)