summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@hq.newdream.net>2010-06-24 00:52:27 +0200
committerSage Weil <sage@newdream.net>2010-06-24 18:47:36 +0200
commitbfaf148eb2e42c00f1c79b2163f0804068ea0c5e (patch)
tree8d6b4dfcc42cd156bc80f0db472e9b3988edcd1b
parentceph: delay umount until all mds requests drop inode+dentry refs (diff)
downloadlinux-bfaf148eb2e42c00f1c79b2163f0804068ea0c5e.tar.xz
linux-bfaf148eb2e42c00f1c79b2163f0804068ea0c5e.zip
ceph: fix caps debugfs entry
The ceph client structure was not set correctly. Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>
-rw-r--r--fs/ceph/debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/debugfs.c b/fs/ceph/debugfs.c
index 3be33fb066cc..f2f5332ddbba 100644
--- a/fs/ceph/debugfs.c
+++ b/fs/ceph/debugfs.c
@@ -261,7 +261,7 @@ static int osdc_show(struct seq_file *s, void *pp)
static int caps_show(struct seq_file *s, void *p)
{
- struct ceph_client *client = p;
+ struct ceph_client *client = s->private;
int total, avail, used, reserved, min;
ceph_reservation_status(client, &total, &avail, &used, &reserved, &min);