diff options
Diffstat (limited to 'include/linux/swap.h')
| -rw-r--r-- | include/linux/swap.h | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/include/linux/swap.h b/include/linux/swap.h index 8a807292037f..f02fb5db8914 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */  #ifndef _LINUX_SWAP_H  #define _LINUX_SWAP_H @@ -265,6 +266,10 @@ struct swap_info_struct {  					 * both locks need hold, hold swap_lock  					 * first.  					 */ +	spinlock_t cont_lock;		/* +					 * protect swap count continuation page +					 * list. +					 */  	struct work_struct discard_work; /* discard worker */  	struct swap_cluster_list discard_clusters; /* discard clusters list */  }; |