aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorGravatar Filipe Manana <fdmanana@suse.com> 2014-08-08 02:47:06 +0100
committerGravatar Chris Mason <clm@fb.com> 2014-08-21 07:55:26 -0700
commit62e2390e1ad78f956e96a6a831761adc6f2bf58a (patch)
tree293bff9b4dcc58b928271a36a0421455aaf07ee1 /fs/btrfs/transaction.c
parentBtrfs: don't monopolize a core when evicting inode (diff)
downloadlinux-62e2390e1ad78f956e96a6a831761adc6f2bf58a.tar.gz
linux-62e2390e1ad78f956e96a6a831761adc6f2bf58a.tar.bz2
linux-62e2390e1ad78f956e96a6a831761adc6f2bf58a.zip
Btrfs: clone, don't create invalid hole extent map
When cloning a file that consists of an inline extent, we were creating an extent map that represents a non-existing trailing hole starting at a file offset that isn't a multiple of the sector size. This happened because when processing an inline extent we weren't aligning the extent's length to the sector size, and therefore incorrectly treating the range [inline_extent_length; sector_size[ as a hole. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
0 files changed, 0 insertions, 0 deletions