commit | c216775458a2ee345d9412a2770c2916acfb5d30 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zheng.yan@oracle.com> | Thu Nov 12 09:34:21 2009 +0000 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Dec 17 12:33:24 2009 -0500 |
tree | 41a947a9d254aeeef40b7e42162d80646477f30a | |
parent | 920bbbfb05c9fce22e088d20eb9dcb8f96342de9 [diff] |
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 <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>