diff options
author | Abhijith Das <adas@redhat.com> | 2011-03-08 10:40:42 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2011-03-09 09:32:44 +0000 |
commit | 662e3a551b468c7338f5291d7a00389fe85885e2 (patch) | |
tree | 4e4939e0c1f1f5ce66541982476e68f24f83221b /crypto/rng.c | |
parent | 4c16c36ad62fff8485215bd803d778eb2bd0b8bd (diff) | |
download | op-kernel-dev-662e3a551b468c7338f5291d7a00389fe85885e2.zip op-kernel-dev-662e3a551b468c7338f5291d7a00389fe85885e2.tar.gz |
GFS2: quota allows exceeding hard limit
Immediately after being synced to disk, cached quotas are zeroed out and a
subsequent access of the cached quotas results in incorrect zero values. This
meant that gfs2 assumed the actual usage to be the zero (or near-zero) usage
values it found in the cached quotas and comparison against warn/limits never
triggered a quota violation.
This patch adds a new flag QDF_REFRESH that is set after a sync so that the
cached quotas are forcefully refreshed from disk on a subsequent access on
seeing this flag set.
Resolves: rhbz#675944
Signed-off-by: Abhi Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'crypto/rng.c')
0 files changed, 0 insertions, 0 deletions