linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] quota: mark PRINT_QUOTA_WARNING as BROKEN
@ 2023-04-13 16:38 Yangtao Li
  2023-04-14 11:14 ` Jan Kara
  0 siblings, 1 reply; 2+ messages in thread
From: Yangtao Li @ 2023-04-13 16:38 UTC (permalink / raw)
  To: Jan Kara; +Cc: Yangtao Li, linux-kernel

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


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

* Re: [PATCH] quota: mark PRINT_QUOTA_WARNING as BROKEN
  2023-04-13 16:38 [PATCH] quota: mark PRINT_QUOTA_WARNING as BROKEN Yangtao Li
@ 2023-04-14 11:14 ` Jan Kara
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2023-04-14 11:14 UTC (permalink / raw)
  To: Yangtao Li; +Cc: Jan Kara, linux-kernel

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

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

end of thread, other threads:[~2023-04-14 11:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-13 16:38 [PATCH] quota: mark PRINT_QUOTA_WARNING as BROKEN Yangtao Li
2023-04-14 11:14 ` Jan Kara

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).