diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2010-05-26 23:21:58 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-05-27 18:56:27 +0200 |
commit | f32764bd2bbb6ea003c158b1d276b4dc9f900348 (patch) | |
tree | 7fbabde3796a97b8b121349ea76b22b23238230a /fs/sync.c | |
parent | ext3 uses rb_node = NULL; to zero rb_root. (diff) | |
download | linux-f32764bd2bbb6ea003c158b1d276b4dc9f900348.tar.xz linux-f32764bd2bbb6ea003c158b1d276b4dc9f900348.zip |
quota: Convert quota statistics to generic percpu_counter
Generic per-cpu counter has some memory overhead but it is negligible for
modern systems and embedded systems compile without quota support. And code
reuse is a good thing. This patch should fix complain from preemptive kernels
which was introduced by dde9588853b1bde.
[Jan Kara: Fixed patch to work on 32-bit archs as well]
Reported-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions