Skip to content
Commit 714e08cc authored by Haitao Huang's avatar Haitao Huang Committed by Tejun Heo
Browse files

cgroup/misc: Store atomic64_t reads to u64



Change 'new_usage' type to u64 so it can be compared with unsigned 'max'
and 'capacity' properly even if the value crosses the signed boundary.

Signed-off-by: default avatarHaitao Huang <haitao.huang@linux.intel.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 32bf85c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment