linux-stable/drivers/block/zram
Sergey Senozhatsky be2d1d56c8 zram: drop `init_done' struct zram member
Introduce init_done() helper function which allows us to drop `init_done'
struct zram member.  init_done() uses the fact that ->init_done == 1
equals to ->meta != NULL.

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Acked-by: Jerome Marchand <jmarchan@redhat.com>
Cc: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-04-07 16:35:59 -07:00
..
Kconfig zram: remove old private project comment 2014-01-30 16:56:55 -08:00
Makefile
zram_drv.c zram: drop `init_done' struct zram member 2014-04-07 16:35:59 -07:00
zram_drv.h zram: drop `init_done' struct zram member 2014-04-07 16:35:59 -07:00