linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fs/Kconfig: default to no mandatory locking
@ 2020-01-28 13:53 Petr Tesarik
  0 siblings, 0 replies; 2+ messages in thread
From: Petr Tesarik @ 2020-01-28 13:53 UTC (permalink / raw)
  To: Al Viro; +Cc: linux-fsdevel, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 644 bytes --]

If the help text says this code is dead, the option itself should
not default to y.

Signed-off-by: Petr Tesarik <ptesarik@suse.com>
---
 fs/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/Kconfig b/fs/Kconfig
index 7b623e9fc1b0..fc60b8bbebc2 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -103,7 +103,7 @@ config FILE_LOCKING
 config MANDATORY_FILE_LOCKING
 	bool "Enable Mandatory file locking"
 	depends on FILE_LOCKING
-	default y
+	default n
 	help
 	  This option enables files appropriately marked files on appropriely
 	  mounted filesystems to support mandatory locking.
-- 
2.16.4


[-- Attachment #2: Digitální podpis OpenPGP --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] fs/Kconfig: default to no mandatory locking
@ 2020-01-28 14:28 Petr Tesarik
  0 siblings, 0 replies; 2+ messages in thread
From: Petr Tesarik @ 2020-01-28 14:28 UTC (permalink / raw)
  To: Al Viro; +Cc: linux-fsdevel, linux-kernel

If the help text says this code is dead, the option itself should
not default to y.

Signed-off-by: Petr Tesarik <ptesarik@suse.com>
---
 fs/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/Kconfig b/fs/Kconfig
index 7b623e9fc1b0..fc60b8bbebc2 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -103,7 +103,7 @@ config FILE_LOCKING
 config MANDATORY_FILE_LOCKING
 	bool "Enable Mandatory file locking"
 	depends on FILE_LOCKING
-	default y
+	default n
 	help
 	  This option enables files appropriately marked files on appropriely
 	  mounted filesystems to support mandatory locking.
-- 
2.16.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-28 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-28 13:53 [PATCH] fs/Kconfig: default to no mandatory locking Petr Tesarik
2020-01-28 14:28 Petr Tesarik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).