• Abhi Das's avatar
    gfs2: limit quota log messages · 9cde2898
    Abhi Das authored
    This patch makes the quota subsystem only report once that a
    particular user/group has exceeded their allotted quota.
    
    Previously, it was possible for a program to continuously try
    exceeding quota (despite receiving EDQUOT) and in turn trigger
    gfs2 to issue a kernel log message about quota exceed. In theory,
    this could get out of hand and flood the log and the filesystem
    hosting the log files.
    Signed-off-by: default avatarAbhi Das <adas@redhat.com>
    Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
    9cde2898
quota.c 41.4 KB