Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 76ad8855 authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Martijn Coenen
Browse files

BACKPORT: dm bufio: refactor adjust_total_allocated



Refactor adjust_total_allocated() so that it takes a bool argument
indicating if it should add or subtract the buffer size.

Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
(cherry picked from commit d0a328a385d2d1ab87e7a959d91c1841ed5a498f)

Bug: 136247322
Change-Id: I25522f4991d17c56f709f7c904f4480a427decbf
Signed-off-by: default avatarMartijn Coenen <maco@android.com>
parent 24d0cad2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment