]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb69db72def8d14ddd43d8b268ecc6c666792787e
treea5b272158acc0e01e71731f5ccbc895a8eee1151
parent86b0a855cf5e375af60b6742cc58e5df9b258051
Btrfs: update hole handling v2

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