diff options
author | Jan Kara <jack@suse.cz> | 2009-01-08 03:07:29 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-08 17:31:01 +0100 |
commit | e04a88a920ff36d03641e1b9c01b7960d94209f1 (patch) | |
tree | 0c4bc724372953bdcf027eea2daf87bcfd8e4a2f /init | |
parent | coda: fix fs/coda/sysctl.c build warnings when !CONFIG_SYSCTL (diff) | |
download | linux-e04a88a920ff36d03641e1b9c01b7960d94209f1.tar.xz linux-e04a88a920ff36d03641e1b9c01b7960d94209f1.zip |
quota: don't set grace time when user isn't above softlimit
do_set_dqblk() allowed SETDQBLK quotactl to set user's grace time even if
user was not above his softlimit. This does not make much sence and by
coincidence causes quota code to omit softlimit warning when user really
exceeds softlimit. This patch makes do_set_dqblk() reset user's grace
time if he has not exceeded softlimit.
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions