From: Sergey Senozhatsky Date: Mon, 7 Apr 2014 22:38:00 +0000 (-0700) Subject: zram: drop `init_done' struct zram member X-Git-Tag: v3.15-rc1~57^2~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be2d1d56c82d8cf20e6c77515eb499f8e86eb5be;p=pandora-kernel.git 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 Acked-by: Minchan Kim Acked-by: Jerome Marchand Cc: Nitin Gupta Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed