projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17c688c
)
ceph: fix caps debugfs entry
author
Yehuda Sadeh
<yehuda@hq.newdream.net>
Wed, 23 Jun 2010 22:52:27 +0000
(15:52 -0700)
committer
Sage Weil
<sage@newdream.net>
Thu, 24 Jun 2010 16:47:36 +0000
(09:47 -0700)
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>
fs/ceph/debugfs.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/debugfs.c
b/fs/ceph/debugfs.c
index 3be33fb066cc5f1ada8be5ebb50115c5dc9c9a7e..f2f5332ddbba3ca340b3ea4ba5a75a317d18053f 100644
(file)
--- 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);