]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - fs/btrfs/tree-log.c
btrfs: qgroup: Drop fs_info parameter from btrfs_qgroup_trace_extent
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>
Wed, 18 Jul 2018 08:28:03 +0000 (16:28 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:52 +0000 (13:12 +0200)
commita95f3aafd6a2d0e8de834c95e91066825e3e7787
treea41ec2d70b80e0150aeb84145c385df837522f2b
parentf0042d5e92b66969a12166d1deb5a979250d6c25
btrfs: qgroup: Drop fs_info parameter from btrfs_qgroup_trace_extent

It can be fetched from the transaction handle. In addition, remove the
WARN_ON(trans == NULL) because it's not possible to hit this condition.

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
fs/btrfs/qgroup.h
fs/btrfs/tree-log.c