btrfs-progs: repair: remove recowed entry from the to-recow list
authorAlexandre Oliva <oliva@gnu.org>
Tue, 23 Sep 2014 15:49:58 +0000 (17:49 +0200)
committerDavid Sterba <dsterba@suse.cz>
Fri, 10 Oct 2014 16:11:32 +0000 (18:11 +0200)
commitca1e04597ada5b767cf883e59eb7e79196ae8487
tree8a0335f8041edaa0c43999a4360be1258bb92989
parented1b086a3042c25655233ece41ff97b8ecc73a35
btrfs-progs: repair: remove recowed entry from the to-recow list

If we attempt to repair a filesystem with metadata blocks that need
recowing, we'll get into an infinite loop repeatedly recowing the
first entry in the list, without ever removing it from the list.
Oops.  Fixed.

Signed-off-by: Alexandre Oliva <oliva@gnu.org>
Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-check.c