From ace063af70fc7706cb022424aa13fc2c7d65667f Mon Sep 17 00:00:00 2001 From: Kalesh Singh Date: Thu, 13 Jun 2024 13:44:11 -0700 Subject: [PATCH] ANDROID: ABI: mm: swap: reserve cluster according to mount option. Reserve fields for swap reservation patches; before KMI freeze. Bug: 313807618 Change-Id: I376d806cf671f687342dbd26af3ccbcfc0ad2a2a Signed-off-by: Kalesh Singh --- include/linux/swap.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/swap.h b/include/linux/swap.h index c2342afc7b4c..1df4f0f0d993 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h @@ -265,6 +265,8 @@ struct swap_cluster_info { unsigned int count:12; unsigned int state:3; unsigned int order:4; + unsigned int reserved:1; + unsigned int flags:4; struct list_head list; /* Protected by swap_info_struct->lock */ };