]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: qgroup: move the qgroup->members check out from (!qgroup)'s else branch
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>
Thu, 11 Oct 2018 05:42:56 +0000 (13:42 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:40 +0000 (17:23 +0200)
commitef19e4ffc07c4b6d9ec2bdf0a80028f605d73bb8
treebf3c6216ec4d56263203b8b819f40a61cc0e3745
parente4fb476f25a043fa8735a23c0245f9dffd4c5a11
btrfs: qgroup: move the qgroup->members check out from (!qgroup)'s else branch

There is no reason to put this check in (!qgroup)'s else branch because
if qgroup is null, it will goto out directly. So move it out to reduce
indentation level.  No functional change.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/qgroup.c