diff options
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2014-04-07 15:38:00 -0700 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2016-06-05 21:21:43 +0200 |
commit | bfeb197ca636331f8d7218eeb47cb6e98c076a82 (patch) | |
tree | 10b5b8b68571998b4288dcdc3d216a04b46121a7 /init | |
parent | 235cc4ba665f97b7b3e3c2d44120c0ade8eb53b6 (diff) | |
download | kernel_samsung_espresso10-bfeb197ca636331f8d7218eeb47cb6e98c076a82.zip kernel_samsung_espresso10-bfeb197ca636331f8d7218eeb47cb6e98c076a82.tar.gz kernel_samsung_espresso10-bfeb197ca636331f8d7218eeb47cb6e98c076a82.tar.bz2 |
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 'init')
0 files changed, 0 insertions, 0 deletions