[PATCH] quota: mark PRINT_QUOTA_WARNING as BROKEN

Yangtao Li posted 1 patch 2 years, 8 months ago
fs/quota/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] quota: mark PRINT_QUOTA_WARNING as BROKEN
Posted by Yangtao Li 2 years, 8 months ago
User should use notification via netlink socket. PRINT_QUOTA_WARNING is
deprecated since commit 8e8934695dfd ("quota: send messages
via netlink"), so mark it as BROKEN.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
 fs/quota/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/quota/Kconfig b/fs/quota/Kconfig
index d5a85a8062d0..10e9a0efc6c2 100644
--- a/fs/quota/Kconfig
+++ b/fs/quota/Kconfig
@@ -28,7 +28,7 @@ config QUOTA_NETLINK_INTERFACE
 
 config PRINT_QUOTA_WARNING
 	bool "Print quota warnings to console (OBSOLETE)"
-	depends on QUOTA
+	depends on QUOTA && BROKEN
 	default y
 	help
 	  If you say Y here, quota warnings (about exceeding softlimit, reaching
-- 
2.35.1
Re: [PATCH] quota: mark PRINT_QUOTA_WARNING as BROKEN
Posted by Jan Kara 2 years, 8 months ago
On Fri 14-04-23 00:38:32, Yangtao Li wrote:
> User should use notification via netlink socket. PRINT_QUOTA_WARNING is
> deprecated since commit 8e8934695dfd ("quota: send messages
> via netlink"), so mark it as BROKEN.
> 
> Signed-off-by: Yangtao Li <frank.li@vivo.com>

Thanks. I've merged the patch (with somewhat updated changelog) to my tree.

								Honza

> ---
>  fs/quota/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/quota/Kconfig b/fs/quota/Kconfig
> index d5a85a8062d0..10e9a0efc6c2 100644
> --- a/fs/quota/Kconfig
> +++ b/fs/quota/Kconfig
> @@ -28,7 +28,7 @@ config QUOTA_NETLINK_INTERFACE
>  
>  config PRINT_QUOTA_WARNING
>  	bool "Print quota warnings to console (OBSOLETE)"
> -	depends on QUOTA
> +	depends on QUOTA && BROKEN
>  	default y
>  	help
>  	  If you say Y here, quota warnings (about exceeding softlimit, reaching
> -- 
> 2.35.1
> 
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR