swap: do NOT set ZRAM size if it is already set by kernel 06/243206/1 accepted/tizen/unified/20200908.060819 submit/tizen/20200907.113616 submit/tizen/20200908.010406
authorElmurod Talipov <e.talipov@samsung.com>
Fri, 4 Sep 2020 02:26:40 +0000 (11:26 +0900)
committerElmurod Talipov <e.talipov@samsung.com>
Fri, 4 Sep 2020 02:27:58 +0000 (11:27 +0900)
commit977280625f0596cdf2940743205f57298f4bc7ed
treede879afd39594034c249a19e1dab50ef9330e752
parent57281cb0ab76fcce867e5d071db7cf8f2b544c34
swap: do NOT set ZRAM size if it is already set by kernel

 ZRAM disksize can be set with configuration in Kernel or by other
 means, in that case setting and verify ZRAM size fails.

Change-Id: Id296cf8106ecbea368959f92e06ad7d7a6a57f4c
Signed-off-by: Elmurod Talipov <e.talipov@samsung.com>
src/swap/zramswap.c