2022-09-09 20:26:27

by Jingyu Wang

[permalink] [raw]
Subject: [PATCH] block: remove unneeded "default n" options

Remove "default n" options. If the "default" line is removed, it
defaults to 'n'.

Signed-off-by: Jingyu Wang <[email protected]>
---
block/Kconfig | 1 -
1 file changed, 1 deletion(-)

diff --git a/block/Kconfig b/block/Kconfig
index d4fdd606d138..d9dd24697967 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -50,7 +50,6 @@ config BLK_ICQ

config BLK_USE_PIN_USER_PAGES_FOR_DIO
bool "DEVELOPERS ONLY: Enable pin_user_pages() for Direct IO" if EXPERT
- default n

help
For Direct IO code, retain the pages via calls to

base-commit: 5957ac6635a1a12d4aa2661bbf04d3085a73372a
--
2.34.1


2022-09-12 06:18:10

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] block: remove unneeded "default n" options

On 9/9/22 1:45 PM, Jingyu Wang wrote:
> Remove "default n" options. If the "default" line is removed, it
> defaults to 'n'.

Since this code isn't upstream yet, nor in my tree, it should go
to the owner of that patchset and get folded in.

--
Jens Axboe