[PATCH] Btrfs: check our parent dir when doing a compare send

2013-08-06 Thread Josef Bacik
When doing a send with a parent subvol we will check to see if the file we are acting on is being overwritten and move it if we think it may be needed further down the line during the send. We check this by checking its directory and making sure it existed in the parent and making sure the file

[PATCH] Btrfs: check our parent dir when doing a compare send V2

2013-08-06 Thread Josef Bacik
When doing a send with a parent subvol we will check to see if the file we are acting on is being overwritten and move it if we think it may be needed further down the line during the send. We check this by checking its directory and making sure it existed in the parent and making sure the file