[PATCH 3.4 041/146] Btrfs: fix inode eviction infinite loop after cloning into it

2015-09-15 Thread lizf
From: Filipe Manana 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit f3d67294714af2d72a6fd6fd7d73b01c9329 upstream. If we attempt to clone a 0 length region into a file we can end up inserting a range in the inode's extent_io tree

[PATCH 3.4 041/146] Btrfs: fix inode eviction infinite loop after cloning into it

2015-09-15 Thread lizf
From: Filipe Manana 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit f3d67294714af2d72a6fd6fd7d73b01c9329 upstream. If we attempt to clone a 0 length region into a file we can end up inserting a range in the inode's