]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: add missing check for dir != tmp_dir to is_first_ref
authorAlexander Block <ablock84@googlemail.com>
Sat, 28 Jul 2012 09:07:18 +0000 (11:07 +0200)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:18:45 +0000 (15:18 -0400)
commitfe79659c7bc8674f40d2ec0d24a861008efa06f0
tree33fde8a7f7f7e492a5eccb9e78c699fd47e9c0a4
parent896b12a62819bf03bee2aeaef5468b1da04ac534
Btrfs: add missing check for dir != tmp_dir to is_first_ref

We missed that check which resultet in all refs with the same name
being reported as first_ref.

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