ocfs2: Make global quota files blocksize aligned
authorJan Kara <jack@suse.cz>
Wed, 22 Jul 2009 11:17:15 +0000 (13:17 +0200)
committerJoel Becker <joel.becker@oracle.com>
Thu, 23 Jul 2009 17:58:59 +0000 (10:58 -0700)
commitb57ac2c43e66cb4aa76c9d2d0e9e0e04f19cc5a6
treee377a53fe3aab4034c6f24fd439eb4f3bed51745
parent82e12644cf5227dab15201fbcaf0ca6330ebd70f
ocfs2: Make global quota files blocksize aligned

Change i_size of global quota files so that it always remains aligned to block
size. This is mainly because the end of quota block may contain checksum (if
checksumming is enabled) and it's a bit awkward for it to be "outside" of quota
file (and it makes life harder for ocfs2-tools).

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/quota_global.c