]> asedeno.scripts.mit.edu Git - linux.git/commit
btrfs: opencode reset of all device stats
authorAnand Jain <anand.jain@oracle.com>
Wed, 7 Aug 2019 08:21:20 +0000 (16:21 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:06 +0000 (14:59 +0200)
commitae4b9b4c7d546b1cabf9e5da67432cfbc7cd7148
tree879570716443fcd50288a88472e6d522b2ac4636
parent4e411a7d044168520d936264c9fe40847cf031eb
btrfs: opencode reset of all device stats

__btrfs_reset_dev_stats() is a small helper function to reset devices stat
values, and is used only once, instead just open code it.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c