diff options
author | Yan, Zheng <zheng.yan@oracle.com> | 2009-11-12 09:34:21 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-13 13:19:54 -0700 |
commit | eb99c071ac2ec45c55713e5b9931b810cf0f1d2f (patch) | |
tree | 4b5293ae2eb151dd40f7ec20d531f2cf6ed9eb05 /fs/btrfs/disk-io.c | |
parent | c8e789da047e7a0bbc83eab66181faa90e0a286a (diff) |
Btrfs: Fix disk_i_size update corner case
commit c216775458a2ee345d9412a2770c2916acfb5d30 upstream.
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>
Acked-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions