Re: [PATCH 3/5] Btrfs: fix wrong file extent length

2012-11-01 Thread Liu Bo
On Thu, Nov 01, 2012 at 03:33:59PM +0800, Miao Xie wrote: > There are two types of the file extent - inline extent and regular extent, > When we log file extents, we didn't take inline extent into account, fix it. > Good catch. Reviewed-by: Liu Bo thanks, liubo > Signed-off-by: Miao Xie > -

[PATCH 3/5] Btrfs: fix wrong file extent length

2012-11-01 Thread Miao Xie
There are two types of the file extent - inline extent and regular extent, When we log file extents, we didn't take inline extent into account, fix it. Signed-off-by: Miao Xie --- fs/btrfs/ctree.h |1 + fs/btrfs/file-item.c | 21 - fs/btrfs/tree-log.c | 10 ++