gfs2: limit quota log messages
authorAbhi Das <adas@redhat.com>
Tue, 2 Jun 2015 16:03:04 +0000 (11:03 -0500)
committerBob Peterson <rpeterso@redhat.com>
Tue, 2 Jun 2015 16:03:04 +0000 (11:03 -0500)
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: Abhi Das <adas@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/incore.h
fs/gfs2/quota.c

Simple merge
diff --cc fs/gfs2/quota.c
Simple merge