Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5aa04bc7 authored by Srinivas Paladugu's avatar Srinivas Paladugu
Browse files

ANDROID: zram: fix incorrect assignment for access time



The backports for zram writeback feature did not account for
changes in ktime_t definition. ktime_t is a union on 4.9.

Test: Build with allmodconfig
Change-Id: I56d521e25727398fc02e658f033bcb141e610d34
Signed-off-by: default avatarSrinivas Paladugu <srnvs@google.com>
parent f26c1b2b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1198,7 +1198,7 @@ static void zram_free_page(struct zram *zram, size_t index)
	unsigned long handle;

#ifdef CONFIG_ZRAM_MEMORY_TRACKING
	zram->table[index].ac_time = 0;
	zram->table[index].ac_time.tv64 = 0;
#endif
	if (zram_test_flag(zram, index, ZRAM_IDLE))
		zram_clear_flag(zram, index, ZRAM_IDLE);