]> git.openpandora.org Git - pandora-kernel.git/commitdiff
Btrfs: update hole handling v2
authorYan Zheng <zheng.yan@oracle.com>
Thu, 30 Oct 2008 18:19:41 +0000 (14:19 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 30 Oct 2008 18:19:41 +0000 (14:19 -0400)
This patch splits the hole insertion code out of btrfs_setattr
into btrfs_cont_expand and updates btrfs_get_extent to properly
handle the case that file extent items are not continuous.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/extent_map.h
fs/btrfs/file.c
fs/btrfs/inode.c

Simple merge
Simple merge
diff --cc fs/btrfs/file.c
Simple merge
Simple merge