From b655ad62c9e9a058ea3502cbf78677a2718bb8a4 Mon Sep 17 00:00:00 2001
From: Bruce Ashfield <bruce.ashfield@gmail.com>
Date: Fri, 20 Aug 2021 13:31:23 -0400
Subject: [PATCH] ktypes/standard: disable CONFIG_MANDATORY_FILE_LOCKING

As discussed here: https://lore.kernel.org/lkml/YRcyqbpVqwwq3P6n@casper.infradead.org/

And also disabled by other distros (ref: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1940392)

There is a push to remove mandatory file locking. By disabling this
option in our kernel types, we'll be prepared for the change.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
---
 ktypes/standard/standard.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ktypes/standard/standard.cfg b/ktypes/standard/standard.cfg
index dbca14455..0e5cc0f22 100644
--- a/ktypes/standard/standard.cfg
+++ b/ktypes/standard/standard.cfg
@@ -1115,3 +1115,5 @@ CONFIG_LIBCRC32C=y
 CONFIG_ZLIB_DEFLATE=y
 
 CONFIG_SHMEM=y
+
+# CONFIG_MANDATORY_FILE_LOCKING is not set
-- 
GitLab