commit | 1e7bac1ef754b3112eb78c64a7382d286e454424 | [log] [tgz] |
---|---|---|
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | Sat Jul 13 21:02:54 2013 +0800 |
committer | Chris Mason <chris.mason@fusionio.com> | Sun Sep 01 07:57:36 2013 -0400 |
tree | a129f88c3ef5fe94a0ed42c7b2dc4b00d72df264 | |
parent | 647f63bd363e5f4800bf3e85a613793e1eb4bf25 [diff] |
Btrfs: set qgroup_ulist to be null after calling ulist_free() We call ulist_free(qgroup_ulist) in btrfs_free_qgroup_config(), and btrfs_free_qgroup_config() may be called in two cases: (1)umount filesystem (2)disabling quota However, if we firstly disable quota and then umount filesystem, a double free happens. Fix it. Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>