quota: mark PRINT_QUOTA_WARNING as BROKEN
authorYangtao Li <frank.li@vivo.com>
Thu, 13 Apr 2023 16:38:32 +0000 (00:38 +0800)
committerJan Kara <jack@suse.cz>
Fri, 14 Apr 2023 11:06:50 +0000 (13:06 +0200)
PRINT_QUOTA_WARNING is deprecated since commit 8e8934695dfd ("quota:
send messages via netlink") merged in 2007. Users should rather be using
notification over netlink socket if they are interested about explicit
notification in addition to plain EDQUOT error. Since printing to
console from deep inside filesystem code is problematic, mark the
feature as BROKEN now and see who complains.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <20230413163833.43913-1-frank.li@vivo.com>

fs/quota/Kconfig

index df522f4..4c925e5 100644 (file)
@@ -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