diff options
author | Alexander Aring <aahringo@redhat.com> | 2022-06-22 14:45:23 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2022-08-01 09:31:38 -0500 |
commit | 6b0afc0cc3e9a9a91f5a76d0965d449781441e18 (patch) | |
tree | 53c866fc67bbaec980320412519ebac8bdc9d060 /fs/dlm/config.h | |
parent | 81eeb82fc215afec7a0511dd5eab6b9cac8dac39 (diff) | |
download | lwn-6b0afc0cc3e9a9a91f5a76d0965d449781441e18.tar.gz lwn-6b0afc0cc3e9a9a91f5a76d0965d449781441e18.zip |
fs: dlm: don't use deprecated timeout features by default
This patch will disable use of deprecated timeout features if
CONFIG_DLM_DEPRECATED_API is not set. The deprecated features
will be removed in upcoming kernel release v6.2.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/config.h')
-rw-r--r-- | fs/dlm/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/dlm/config.h b/fs/dlm/config.h index cb23d018e863..55c5f2c13ebd 100644 --- a/fs/dlm/config.h +++ b/fs/dlm/config.h @@ -37,7 +37,9 @@ struct dlm_config_info { int ci_log_info; int ci_protocol; int ci_mark; +#ifdef CONFIG_DLM_DEPRECATED_API int ci_timewarn_cs; +#endif int ci_new_rsb_count; int ci_recover_callbacks; char ci_cluster_name[DLM_LOCKSPACE_LEN]; |