Btrfs: put back delayed refs that are too new
authorArne Jansen <sensille@gmx.net>
Tue, 13 Sep 2011 13:16:43 +0000 (15:16 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Wed, 4 Jan 2012 15:12:45 +0000 (16:12 +0100)
When processing a delayed ref, first check if there are still old refs in
the process of being added. If so, put this ref back to the tree. To avoid
looping on this ref, choose a newer one in the next loop.
btrfs_find_ref_cluster has to take care of that.

Signed-off-by: Arne Jansen <sensille@gmx.net>
Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>

No differences found