]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't delete ordered roots from list during cleanup
authorJosef Bacik <jbacik@fusionio.com>
Fri, 27 Sep 2013 20:36:02 +0000 (16:36 -0400)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 02:53:49 +0000 (21:53 -0500)
commit9eb8b1af31ecca59d43ff3571bf8730903d9156e
tree703663cf72eee9c495be1dff499b6f85715a02df
parent7b98da8b335d7c5f8b3b83adfb51b564b9e7ebdc
Btrfs: don't delete ordered roots from list during cleanup

During transaction cleanup after an abort we are just removing roots from the
ordered roots list which is incorrect.  We have a BUG_ON() to make sure that the
root is still part of the ordered roots list when we put our ordered extent
which we were tripping in this case.  So do like we do everywhere else and just
move it to the tail of the ordered roots list and allow the normal cleanup to
take care of stuff.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/disk-io.c