]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix list delete warning when removing ordered root from the list
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 14 Nov 2013 09:33:21 +0000 (17:33 +0800)
committerChris Mason <chris.mason@fusionio.com>
Thu, 21 Nov 2013 01:44:46 +0000 (20:44 -0500)
commite0c59583cdcbded32c32504ce586415a37560077
tree3ed597a39b892e6c1034f0e1e6777e4c2660b4e2
parentb774ad21d85b247fa0ba39a45f523789164dd5cb
Btrfs: fix list delete warning when removing ordered root from the list

Commit 424d41ff2b569c18e96183882103304e44904576 "Btrfs: don't wait for
the completion of all the ordered extents" introduced a bug that broke
the ordered root list:
 WARNING: CPU: 1 PID: 7119 at lib/list_debug.c:59 __list_del_entry+0x5a/0x98()

It is because we forgot to return the roots in the splice list to the
ordered list of the fs. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ordered-data.c