Btrfs: don't treat top/root directory inode as deleted/reused
authorAlexander Block <ablock84@googlemail.com>
Wed, 1 Aug 2012 12:48:59 +0000 (14:48 +0200)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:19:00 +0000 (15:19 -0400)
commit6d85ed05e16e7ff747025c8374f23d7d81c98540
treed1c045d6cbc6f7ed4a4e92714664728d57b55fb6
parent2981e225f7048b36470383bf5622c42139bd96f7
Btrfs: don't treat top/root directory inode as deleted/reused

We can't do the deleted/reused logic for top/root inodes as it would
create a stream that tries to delete and recreate the root dir.

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