X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=blobdiff_plain;f=fs%2Fbtrfs%2Frelocation.c;h=a3f75b8926d4474aa1093ffdd852d422b853e2d2;hp=924116f654a110cb9e23a878002bed0ae967029e;hb=42a657f57628402c73237547f0134e083e2f6764;hpb=552f0329c75b3e1d7f9bb8c9e421d37403f192cd diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index 924116f654a1..a3f75b8926d4 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -3959,6 +3959,7 @@ static noinline_for_stack int relocate_block_group(struct reloc_control *rc) restart: if (update_backref_cache(trans, &rc->backref_cache)) { btrfs_end_transaction(trans); + trans = NULL; continue; }