quota: implement sending information via netlink about user below quota
authorJan Kara <jack@suse.cz>
Fri, 25 Jul 2008 08:46:52 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:35 +0000 (10:53 -0700)
commit657d3bfa98e542271b449f8cd84c7501ae2b2255
tree1e618dfbb055f2508aca8f0e503e0b525f2b4d0b
parent03b063436ca1076301de58d9d628f610ab5404ad
quota: implement sending information via netlink about user below quota

Sometimes it may be useful for userspace to know (e.g.  for some hosting
guys) that some user stopped exceeding his hardlimit or softlimit in
quotas.  Implement sending of such events to userspace via quota netlink
protocol so that they don't have to poll for such events.  Based on idea
and initial implementation by Vladislav Bogdanov.

Cc: Vladislav Bogdanov <slava@nsys.by>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/dquot.c
include/linux/quota.h