aboutsummaryrefslogtreecommitdiff
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2014-04-07 15:38:00 -0700
committerMister Oyster <oysterized@gmail.com>2016-12-11 12:59:25 +0100
commitd0b96f0d7e20a89daf3fcc8e48825512c9d7e65f (patch)
treec5c6ad7345fa362eeb625a374de0650492e2b1c2 /include/linux/module.h
parent1807e61bd01d259452eb7dc7d0b14daef8c2b214 (diff)
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>
Diffstat (limited to 'include/linux/module.h')
0 files changed, 0 insertions, 0 deletions