aboutsummaryrefslogtreecommitdiffstats
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2007-10-17 02:29:31 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 11:42:56 -0400
commit8e8934695dfd1d5013555a74a9da706a2e301cb0 (patch)
treeedef65302982cbd3e18cf4ef3c88040939886e3a /fs/Kconfig
parentfac8b209b1084bc85748bd54e13d00c1262b220f (diff)
quota: send messages via netlink
Implement sending of quota messages via netlink interface. The advantage is that in userspace we can better decide what to do with the message - for example display a dialogue in your X session or just write the message to the console. As a bonus, we can get rid of problems with console locking deep inside filesystem code once we remove the old printing mechanism. Signed-off-by: Jan Kara <jack@suse.cz> Cc: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r--fs/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index f0df9a2e19e1..dc06033f8502 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -534,6 +534,24 @@ config QUOTA
534 with the quota tools. Probably the quota support is only useful for 534 with the quota tools. Probably the quota support is only useful for
535 multi user systems. If unsure, say N. 535 multi user systems. If unsure, say N.
536 536
537config QUOTA_NETLINK_INTERFACE
538 bool "Report quota messages through netlink interface"
539 depends on QUOTA && NET
540 help
541 If you say Y here, quota warnings (about exceeding softlimit, reaching
542 hardlimit, etc.) will be reported through netlink interface. If unsure,
543 say Y.
544
545config PRINT_QUOTA_WARNING
546 bool "Print quota warnings to console (OBSOLETE)"
547 depends on QUOTA
548 default y
549 help
550 If you say Y here, quota warnings (about exceeding softlimit, reaching
551 hardlimit, etc.) will be printed to the process' controlling terminal.
552 Note that this behavior is currently deprecated and may go away in
553 future. Please use notification via netlink socket instead.
554
537config QFMT_V1 555config QFMT_V1
538 tristate "Old quota format support" 556 tristate "Old quota format support"
539 depends on QUOTA 557 depends on QUOTA