]> git.baikalelectronics.ru Git - kernel.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)
commit9357d1b3c09f2c49640580671743f0c3227c36dc
treed19e59a039ef0e58ef8a2ec4dbbd8e4493dadd77
parent64446397cdd672a966f6ff8c1a4d39f865a2621d
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