quota: add supprt for gfs2
commit4976f911b4facf677b09a02e45c295ecb529ddb8
authorBjörn Jacke <bj@sernet.de>
Tue, 18 Sep 2012 11:57:30 +0000 (18 13:57 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 29 Oct 2012 09:05:35 +0000 (29 10:05 +0100)
tree7a26ce93da78152af03baf31a45de48a497da4cc
parent72565edfebfaf7e9b0e3b52982f4633dd6f99a49
quota: add supprt for gfs2

gfs2 uses the same generic quota interface as xfs and it has the same base
block/quota block size ratio and seems to work nice with the xfs quota module.

(People using gfs should be aware that quota reporting is lagging quite a bit
on gfs.  If you copy a file on a gfs volume the quota values are being updated
with a delay of 30s here with kernel 3.5. This reporting can lead to data
corruption if a client thinks he can write but actually he suddently can't.)
(cherry picked from commit 0b57d1c07520f4995412f224945324fef29f5989)

Fix bug #9172 - quota on gfs2 being reported wrong.
(cherry picked from commit 16a3b6e02d1bb8345984ab6a8c81e446d8de2f54)
source3/lib/sysquotas.c