OSDN Git Service

btrfs: unexport btrfs_run_discard_work and make it static
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Tue, 9 May 2023 17:12:01 +0000 (10:12 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:25 +0000 (13:59 +0200)
commitbb5167e6197b73a38cf35bee788e5cbb6d3f8bfa
tree2052400ca5d795802fdac3aeeec77d3dea7f658e
parent016f9d0b744202eb170ed91e995fc757dd4adeeb
btrfs: unexport btrfs_run_discard_work and make it static

Mark btrfs_run_discard_work static and move it above its callers.

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/discard.c
fs/btrfs/discard.h