From: Josef Bacik Date: Wed, 30 Jan 2013 19:17:31 +0000 (-0500) Subject: Btrfs: fix missing i_size update X-Git-Tag: v3.8-rc7~6^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d1f40202bad12d4c70a2d40a420b30d23a72b1a;p=pandora-kernel.git Btrfs: fix missing i_size update If we have an ordered extent before the ordered extent we are currently completing that is after the current disk_i_size we will put our i_size update into that ordered extent so that we do not expose stale data. The problem is that if our disk i_size is updated past the previous ordered extent we won't update the i_size with the pending i_size update. So check the pending i_size update and if its above the current disk i_size we need to go ahead and try to update. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed