btrfs: qgroup: cleanup the unused srcroot from btrfs_qgroup_inherit
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>
Tue, 17 Jul 2018 08:58:22 +0000 (16:58 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:49 +0000 (13:12 +0200)
commitc8389d4c0d6eb7c0b7f8b8a98620874f9123cd20
tree841d5d263af5e00c9ea4f5db56d62591dbcb763e
parent031f24da2c8a7b611331c368d7bfabccafda09fa
btrfs: qgroup: cleanup the unused srcroot from btrfs_qgroup_inherit

Since commit 0b246afa62b0 ("btrfs: root->fs_info cleanup, add fs_info
convenience variables"), the srcroot is no longer used to get
fs_info::nodesize.  In fact, it can be dropped after commit 707e8a071528
("btrfs: use nodesize everywhere, kill leafsize").

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