diff options
author | 2012-05-22 13:55:08 +1000 | |
---|---|---|
committer | 2012-05-22 13:55:08 +1000 | |
commit | 27581e5ae01f77b5472dc5c2368b41063fed7f37 (patch) | |
tree | 202d2ee37bcfb82ce09bc72c0d3d81045a941637 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | md/bitmap: allow a bitmap with no backing storage. (diff) | |
download | wireguard-linux-27581e5ae01f77b5472dc5c2368b41063fed7f37.tar.xz wireguard-linux-27581e5ae01f77b5472dc5c2368b41063fed7f37.zip |
md/bitmap: centralise allocation of bitmap file pages.
Instead of allocating pages in read_sb_page, read_page and
bitmap_read_sb, allocate them all in bitmap_init_from disk.
Also replace the hack of calling "attach_page_buffers(page, NULL)" to
ensure that free_buffer() won't complain, by putting a test for
PagePrivate in free_buffer().
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions