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/super.c | |
parent | 1513b02c8b537af275ea74fdfb380c618b9e6778 (diff) |
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/super.c')
0 files changed, 0 insertions, 0 deletions