diff options
author | 2012-04-06 14:35:31 +0800 | |
---|---|---|
committer | 2012-05-11 10:56:38 -0400 | |
commit | 39bab87ba6f4d8cce2b70c19e60233ad8030d7b4 (patch) | |
tree | 000084281b76183533122fd2db482d3dc2376237 /tools/perf/scripts/python | |
parent | Btrfs: cleanup the comment for clear_state_bit in extent_io.c (diff) | |
download | linux-dev-39bab87ba6f4d8cce2b70c19e60233ad8030d7b4.tar.xz linux-dev-39bab87ba6f4d8cce2b70c19e60233ad8030d7b4.zip |
Btrfs: fix btrfs_release_extent_buffer_page with the right usage of num_extent_pages
num_extent_pages returns the number of pages in the specific range, not
the index of the last page in the eb range.
btrfs_release_extent_buffer_page is called with start_idx set 0 in current
codes, so it's not a problem yet. But the logic is indeed wrong.
Fix it here.
Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions