diff options
author | 2011-06-28 10:01:31 -0400 | |
---|---|---|
committer | 2011-06-28 10:01:31 -0400 | |
commit | f86186b44b4164600cce03d0d93ad48ec21fa429 (patch) | |
tree | 48aafabbbe46d22de84e4e9b3ebf7c5b35fd6d1e /tools/perf/scripts/python | |
parent | ext4: move ext4_ind_* functions from inode.c to indirect.c (diff) | |
download | linux-dev-f86186b44b4164600cce03d0d93ad48ec21fa429.tar.xz linux-dev-f86186b44b4164600cce03d0d93ad48ec21fa429.zip |
ext4: refactor duplicated block placement code
I found that ext4_ext_find_goal() and ext4_find_near()
share the same code for returning a coloured start block
based on i_block_group.
We can refactor this into a common function so that they
don't diverge in the future.
Thanks to adilger for suggesting the new function name.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions