Jan Schmidt eb1716af88 Btrfs: avoid double free of fs_info->qgroup_ulist
When btrfs_read_qgroup_config or btrfs_quota_enable return non-zero, we've
already freed the fs_info->qgroup_ulist. The final btrfs_free_qgroup_config
called from quota_disable makes another ulist_free(fs_info->qgroup_ulist)
call.

We set fs_info->qgroup_ulist to NULL on the mentioned error paths, turning
the ulist_free in btrfs_free_qgroup_config into a noop.

Cc: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
2013-06-14 11:30:08 -04:00
..
2013-05-06 15:54:49 -04:00
2013-06-14 11:30:06 -04:00
2013-06-14 11:29:28 -04:00
2013-05-06 15:54:34 -04:00
2012-10-09 09:14:45 -04:00
2013-06-14 11:30:06 -04:00
2013-03-14 14:57:10 -04:00
2013-02-01 14:24:23 -05:00
2013-02-01 14:24:23 -05:00
2013-06-14 11:29:55 -04:00
2013-06-14 11:29:52 -04:00
2012-10-09 09:19:57 -04:00