summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/relocation.c
diff options
context:
space:
mode:
authorYan, Zheng <zheng.yan@oracle.com>2009-11-12 10:34:21 +0100
committerChris Mason <chris.mason@oracle.com>2009-12-17 18:33:24 +0100
commitc216775458a2ee345d9412a2770c2916acfb5d30 (patch)
tree41a947a9d254aeeef40b7e42162d80646477f30a /fs/btrfs/relocation.c
parentBtrfs: Rewrite btrfs_drop_extents (diff)
downloadlinux-c216775458a2ee345d9412a2770c2916acfb5d30.tar.xz
linux-c216775458a2ee345d9412a2770c2916acfb5d30.zip
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>
Diffstat (limited to 'fs/btrfs/relocation.c')
0 files changed, 0 insertions, 0 deletions