GFS2: Userland expects quota limit/warn/usage in 512b blocks
authorAbhijith Das <adas@redhat.com>
Thu, 18 Nov 2010 16:24:24 +0000 (11:24 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 19 Nov 2010 11:20:29 +0000 (11:20 +0000)
commit14870b457524e745f1a118e17873d104b1a47b70
treedb7a3d2c20ada60c8bbbc14d71481b036a082b9f
parente53beacd23d9cb47590da6a7a7f6d417b941a994
GFS2: Userland expects quota limit/warn/usage in 512b blocks

Userland programs using the quotactl() syscall assume limit/warn/usage
block counts in 512b basic blocks which were instead being read/written
in fs blocksize in gfs2. With this patch, gfs2 correctly interacts with
the syscall using 512b blocks.

Signed-off-by: Abhi Das <adas@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/quota.c