aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/debugfs.c')
-rw-r--r--fs/ceph/debugfs.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/fs/ceph/debugfs.c b/fs/ceph/debugfs.c
index b58bd9188692..1a47b5c25b5f 100644
--- a/fs/ceph/debugfs.c
+++ b/fs/ceph/debugfs.c
@@ -255,14 +255,15 @@ static int osdc_show(struct seq_file *s, void *pp)
255static int caps_show(struct seq_file *s, void *p) 255static int caps_show(struct seq_file *s, void *p)
256{ 256{
257 struct ceph_client *client = p; 257 struct ceph_client *client = p;
258 int total, avail, used, reserved; 258 int total, avail, used, reserved, min;
259 259
260 ceph_reservation_status(client, &total, &avail, &used, &reserved); 260 ceph_reservation_status(client, &total, &avail, &used, &reserved, &min);
261 seq_printf(s, "total\t\t%d\n" 261 seq_printf(s, "total\t\t%d\n"
262 "avail\t\t%d\n" 262 "avail\t\t%d\n"
263 "used\t\t%d\n" 263 "used\t\t%d\n"
264 "reserved\t%d\n", 264 "reserved\t%d\n"
265 total, avail, used, reserved); 265 "min\t%d\n",
266 total, avail, used, reserved, min);
266 return 0; 267 return 0;
267} 268}
268 269