summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup/rdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cgroup/rdma.c')
-rw-r--r--kernel/cgroup/rdma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/cgroup/rdma.c b/kernel/cgroup/rdma.c
index 021bee7a9692..defad3c5e7dc 100644
--- a/kernel/cgroup/rdma.c
+++ b/kernel/cgroup/rdma.c
@@ -518,6 +518,8 @@ static void print_rpool_values(struct seq_file *sf,
} else {
if (rpool)
value = rpool->resources[i].usage;
+ else
+ value = 0;
}
if (value == S32_MAX)