summaryrefslogtreecommitdiff
path: root/fs/dlm/Makefile
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2022-06-22 14:45:23 -0400
committerDavid Teigland <teigland@redhat.com>2022-08-01 09:31:38 -0500
commit6b0afc0cc3e9a9a91f5a76d0965d449781441e18 (patch)
tree53c866fc67bbaec980320412519ebac8bdc9d060 /fs/dlm/Makefile
parent81eeb82fc215afec7a0511dd5eab6b9cac8dac39 (diff)
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/Makefile')
-rw-r--r--fs/dlm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/Makefile b/fs/dlm/Makefile
index 3545fdafc6fb..71dab733cf9a 100644
--- a/fs/dlm/Makefile
+++ b/fs/dlm/Makefile
@@ -9,7 +9,6 @@ dlm-y := ast.o \
member.o \
memory.o \
midcomms.o \
- netlink.o \
lowcomms.o \
plock.o \
rcom.o \
@@ -18,5 +17,6 @@ dlm-y := ast.o \
requestqueue.o \
user.o \
util.o
+dlm-$(CONFIG_DLM_DEPRECATED_API) += netlink.o
dlm-$(CONFIG_DLM_DEBUG) += debug_fs.o