diff options
author | 2014-07-15 06:01:38 -0400 | |
---|---|---|
committer | 2014-07-15 06:01:38 -0400 | |
commit | d5e03cbb0c88cd1be39f2adc37d602230045964b (patch) | |
tree | f784ac7fe19b69b1c26bab64e0b6dd345305a7dd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.16-rc5 (diff) | |
download | linux-dev-d5e03cbb0c88cd1be39f2adc37d602230045964b.tar.xz linux-dev-d5e03cbb0c88cd1be39f2adc37d602230045964b.zip |
ext4: rearrange initialization to fix EXT4FS_DEBUG
The EXT4FS_DEBUG is a *very* developer specific #ifdef designed for
ext4 developers only. (You have to modify fs/ext4/ext4.h to enable
it.)
Rearrange how we initialize data structures to avoid calling
ext4_count_free_clusters() until the multiblock allocator has been
initialized.
This also allows us to only call ext4_count_free_clusters() once, and
simplifies the code somewhat.
(Thanks to Chen Gang <gang.chen.5i5j@gmail.com> for pointing out a
!CONFIG_SMP compile breakage in the original patch.)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions