Btrfs: add correct parent to check_dirs when dir got moved
authorAlexander Block <ablock84@googlemail.com>
Sat, 28 Jul 2012 09:46:29 +0000 (11:46 +0200)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:18:47 +0000 (15:18 -0400)
commitccf1626b49a94d66f3bb58d634888049ac695b46
tree0001864d120b03cf3734d5c6bdb4f4c549857bed
parent9ea3ef516d828e435d283b7d5f0de05fd72a23ac
Btrfs: add correct parent to check_dirs when dir got moved

We only added the parent for the new position of a moved dir.
We also need to add the old parent of the moved dir.

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