Re: [PATCH 1/5] Btrfs: incremental send, fix don't skip root inode in overwrite_ref

2016-10-12 Thread Filipe Manana
On Wed, Oct 12, 2016 at 9:12 AM, robbieko wrote: > From: Robbie Ko > > When root dir item change, don't skip will_overwrite_ref, > because root inode always exist. What do you mean by root dir item change? You mean indoe 256 changed, how did it

[PATCH 1/5] Btrfs: incremental send, fix don't skip root inode in overwrite_ref

2016-10-12 Thread robbieko
From: Robbie Ko When root dir item change, don't skip will_overwrite_ref, because root inode always exist. Example: Parent snapshot: | a1/ (ino 257, dir) | a2/ (ino 258, dir) Send snapshot: | a2 (ino 257, file) ERROR: rename o257-29-0 -> a2 failed: Is a