diff options
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | 2013-08-14 09:13:36 +0800 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-09-01 08:15:45 -0400 |
commit | 4082bd3d734c41b122a91d2a5aded4b76baa84b2 (patch) | |
tree | a4501aaa7647d46f757bf74141c3c329c1b7c577 /fs/pstore | |
parent | ba5e8f2e2d3074bf151dd222dae9bb400e621b82 (diff) | |
download | linux-stable-4082bd3d734c41b122a91d2a5aded4b76baa84b2.tar.gz linux-stable-4082bd3d734c41b122a91d2a5aded4b76baa84b2.tar.bz2 linux-stable-4082bd3d734c41b122a91d2a5aded4b76baa84b2.zip |
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>
Diffstat (limited to 'fs/pstore')
0 files changed, 0 insertions, 0 deletions