]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Don't send quota messages repeatedly when hardlimit reached
authorJan Kara <jack@suse.cz>
Sat, 22 Dec 2007 22:03:25 +0000 (14:03 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 23 Dec 2007 20:54:36 +0000 (12:54 -0800)
commitc525460e2754dbb33abe2b37d3d941126b2ea830
treed19e59a039ef0e58ef8a2ec4dbbd8e4493dadd77
parent22dd483721939b4ea22d5d3925e69112f63c42bc
Don't send quota messages repeatedly when hardlimit reached

We should send quota message to netlink only once when hardlimit is
reached.  Otherwise user could easily make the system busy by trying to
exceed the hardlimit (and also the messages could be anoying if you cannot
stop writing just now).

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