commit | 4082bd3d734c41b122a91d2a5aded4b76baa84b2 | [log] [tgz] |
---|---|---|
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | Wed Aug 14 09:13:36 2013 +0800 |
committer | Chris Mason <chris.mason@fusionio.com> | Sun Sep 01 08:15:45 2013 -0400 |
tree | a4501aaa7647d46f757bf74141c3c329c1b7c577 | |
parent | ba5e8f2e2d3074bf151dd222dae9bb400e621b82 [diff] |
Btrfs: fix oops when writing dirty qgroups to disk When disabling quota, we should clear out list 'dirty_qgroups',otherwise, we will get oops if enabling quota again. Fix this by abstracting similar code from del_qgroup_rb(). Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Reviewed-by: Miao Xie <miaox@cn.fujitsu.com> Reviewed-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>