mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
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>
This commit is contained in:
parent
17c688c3df
commit
bfaf148eb2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user