]> git.hungrycats.org Git - linux/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)
committerZygo Blaxell <zblaxell@serenity.furryterror.org>
Wed, 22 Apr 2015 16:25:32 +0000 (12:25 -0400)
commit951caf3d8d5cc4924b1426b312eaf826effb7a00
tree756ea912fbe6a73ac51d90f4445b714cc6a868b5
parentf71da59ecb0179b229e08946ca4f2cced353fc45
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>
(cherry picked from commit 5cc2b17e80cf5770f2e585c2d90fd8af1b901258)
fs/btrfs/send.c