Skip to content

Commit

Permalink
ceph: fix caps debugfs entry
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yehuda Sadeh authored and Sage Weil committed Jun 24, 2010
1 parent 17c688c commit bfaf148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ceph/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bfaf148

Please sign in to comment.