From: Yan, Zheng Date: Thu, 12 Nov 2009 09:34:21 +0000 (+0000) Subject: Btrfs: Fix disk_i_size update corner case X-Git-Tag: v2.6.33-rc1~7^2~1^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c216775458a2ee345d9412a2770c2916acfb5d30;p=pandora-kernel.git Btrfs: Fix disk_i_size update corner case There are some cases file extents are inserted without involving ordered struct. In these cases, we update disk_i_size directly, without checking pending ordered extent and DELALLOC bit. This patch extends btrfs_ordered_update_i_size() to handle these cases. Signed-off-by: Yan Zheng Signed-off-by: Chris Mason --- Reading git-diff-tree failed