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

Skip to content
Commit 696fe917 authored by Vivek Kumar's avatar Vivek Kumar Committed by Gerrit - the friendly Code Review server
Browse files

block: gendisk: Add a new flag in gendisk structure



Add a new flag in gendisk structure to serialize offsets
for swap partition. This flag is enabled for the gendisk of
the block device which will be used for saving the snapshot
of the hibernation image, based on a kernel parameter
"noswap_randomize". Serializing offset in swap partition
helps in improving hibernation resume time from bootloader.

Change-Id: I52ecd078fd47ff6f47b7eff27ee8333a3aac85f8
Signed-off-by: default avatarVivek Kumar <vivekuma@codeaurora.org>
parent ffd32d2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment