diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2023-05-09 10:12:01 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:25 +0200 |
commit | bb5167e6197b73a38cf35bee788e5cbb6d3f8bfa (patch) | |
tree | 2052400ca5d795802fdac3aeeec77d3dea7f658e /fs/btrfs/discard.h | |
parent | 016f9d0b744202eb170ed91e995fc757dd4adeeb (diff) | |
download | lwn-bb5167e6197b73a38cf35bee788e5cbb6d3f8bfa.tar.gz lwn-bb5167e6197b73a38cf35bee788e5cbb6d3f8bfa.zip |
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>
Diffstat (limited to 'fs/btrfs/discard.h')
-rw-r--r-- | fs/btrfs/discard.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/discard.h b/fs/btrfs/discard.h index 57b9202f427f..dddb0f9101ba 100644 --- a/fs/btrfs/discard.h +++ b/fs/btrfs/discard.h @@ -24,7 +24,6 @@ void btrfs_discard_queue_work(struct btrfs_discard_ctl *discard_ctl, struct btrfs_block_group *block_group); void btrfs_discard_schedule_work(struct btrfs_discard_ctl *discard_ctl, bool override); -bool btrfs_run_discard_work(struct btrfs_discard_ctl *discard_ctl); /* Update operations */ void btrfs_discard_calc_delay(struct btrfs_discard_ctl *discard_ctl); |