commit | 26d2ef0cd0f7c12aa331b502c1c1460b85ebd04f | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Thu Sep 12 10:44:44 2019 +0200 |
committer | Mike Snitzer <snitzer@redhat.com> | Fri Sep 13 10:42:27 2019 -0400 |
tree | e25b635d574645d3ea754e931a8081fb7edc574e | |
parent | 7431b7835f554f8608b415a02cf3c3f086309e02 [diff] |
dm bufio: call adjust_total_allocated from __link_buffer and __unlink_buffer Move the call to adjust_total_allocated() to __link_buffer() and __unlink_buffer() so that only used buffers are counted. Reserved buffers are not. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>