quota: send messages via netlink
commit8e8934695dfd1d5013555a74a9da706a2e301cb0
authorJan Kara <jack@suse.cz>
Wed, 17 Oct 2007 06:29:31 +0000 (16 23:29 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:56 +0000 (17 08:42 -0700)
treeedef65302982cbd3e18cf4ef3c88040939886e3a
parentfac8b209b1084bc85748bd54e13d00c1262b220f
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>
Documentation/filesystems/quota.txt [new file with mode: 0644]
fs/Kconfig
fs/dquot.c
include/linux/quota.h