ext4: Fix quota accounting error with fallocate
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 25 Jan 2010 09:00:31 +0000 (04:00 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 25 Jan 2010 09:00:31 +0000 (04:00 -0500)
When we fallocate a region of the file which we had recently written,
and which is still in the page cache marked as delayed allocated blocks
we need to make sure we don't do the quota update on writepage path.
This is because the needed quota updated would have already be done
by fallocate.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>

No differences found