]> asedeno.scripts.mit.edu Git - linux.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)
commitb90e22ba4804d31160f6cd625efa599ba9d286af
treebf3c6216ec4d56263203b8b819f40a61cc0e3745
parent06bbf67244fc63c66340bd31f4b2b60d797e886e
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