Repository navigation
Commit c525460
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>1 parent 22dd483 commit c525460
1 file changed
Lines changed: 16 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
830 | 842 | | |
831 | 843 | | |
832 | 844 | | |
| |||
845 | 857 | | |
846 | 858 | | |
847 | 859 | | |
848 | | - | |
| 860 | + | |
849 | 861 | | |
850 | 862 | | |
851 | 863 | | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | | - | |
856 | 864 | | |
857 | | - | |
| 865 | + | |
858 | 866 | | |
859 | 867 | | |
860 | 868 | | |
| |||
969 | 977 | | |
970 | 978 | | |
971 | 979 | | |
972 | | - | |
| 980 | + | |
| 981 | + | |
973 | 982 | | |
974 | 983 | | |
975 | 984 | | |
| |||
0 commit comments