]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix missing check in the btrfs_qgroup_inherit()
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Sun, 7 Apr 2013 10:50:19 +0000 (10:50 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:54:40 +0000 (15:54 -0400)
commitb34453677a53c5a430283bc43a6a7d784332bebc
treebdd3de1a51ab5b4a6529bcc93b30bff39d9d161f
parente401a88ec1ad663db3948f67accce2c5298ebe8b
Btrfs: fix missing check in the btrfs_qgroup_inherit()

The original code forgot to check 'inherit', we should
gurantee that all the qgroups in the struct 'inherit' exist.

Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Reviewed-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/qgroup.c