• N
    md/bitmap: centralise allocation of bitmap file pages. · 27581e5a
    NeilBrown 提交于
    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: NNeilBrown <neilb@suse.de>
    27581e5a
bitmap.c 55.5 KB