On (23/11/06 22:55), Vasily Averin wrote: > > 'element' and 'handle' are union in struct zram_table_entry. > > Fixes: 8e19d540d107 ("zram: extend zero pages to same element pages") Sorry, what exactly does it fix? [..] > @@ -1318,12 +1318,10 @@ static int zram_read_from_zspool(struct zram *zram, struct page *page, > > handle = zram_get_handle(zram, index); > if (!handle || zram_test_flag(zram, index, ZRAM_SAME)) { > - unsigned long value; > void *mem; > > - value = handle ? zram_get_element(zram, index) : 0; > mem = kmap_atomic(page); > - zram_fill_page(mem, PAGE_SIZE, value); > + zram_fill_page(mem, PAGE_SIZE, handle); > kunmap_atomic(mem); > return 0; > }