Btrfs: fix cur_ino < parent_ino case for send/receive
authorAlexander Block <ablock84@googlemail.com>
Sat, 28 Jul 2012 08:42:24 +0000 (10:42 +0200)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:18:45 +0000 (15:18 -0400)
commit1f4692da951af4179a6522c6b48a09a43d37e614
tree4021e2c4c0c931ff30015b3ab630ce67df71772a
parent85a7b33b9653ade7b26b9f29765cb1f0719c1e84
Btrfs: fix cur_ino < parent_ino case for send/receive

When the current inodes inum is smaller then the inum of the
parent directory strange things were happending due to wrong
path resolution and other bugs. Fix this with a new approach
for the problem.

Reported-by: Alex Lyakas <alex.bolshoy.btrfs@gmail.com>
Signed-off-by: Alexander Block <ablock84@googlemail.com>
fs/btrfs/send.c