From: Dmitry Monakhov Date: Wed, 27 Aug 2014 22:40:03 +0000 (-0400) Subject: ext4: update i_disksize coherently with block allocation on error path X-Git-Tag: omap-fixes-against-v3.17-rc3~28^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6603120e96eae9a5d6228681ae55c7fdc998d1bb;p=pandora-kernel.git ext4: update i_disksize coherently with block allocation on error path In case of delalloc block i_disksize may be less than i_size. So we have to update i_disksize each time we allocated and submitted some blocks beyond i_disksize. We weren't doing this on the error paths, so fix this. testcase: xfstest generic/019 Signed-off-by: Dmitry Monakhov Signed-off-by: Theodore Ts'o Cc: stable@vger.kernel.org --- Reading git-diff-tree failed