]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: send, add missing check for dead clone root
authorFilipe Manana <fdmanana@suse.com>
Mon, 2 Mar 2015 20:53:52 +0000 (20:53 +0000)
committerChris Mason <clm@fb.com>
Fri, 27 Mar 2015 00:55:51 +0000 (17:55 -0700)
commitc1ab11700ba843dc97194d7d17ce2baa3c513c9a
treedef22f523ee607c7c551a4c9ea39b90a5b62a641
parentd7b1e62b92256002078dc54b22f3700dfd92db6c
Btrfs: send, add missing check for dead clone root

After we locked the root's root item, a concurrent snapshot deletion
call might have set the dead flag on it. So check if the dead flag
is set and abort if it is, just like we do for the parent root.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/send.c