summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/discard.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/discard.h')
-rw-r--r--fs/btrfs/discard.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/discard.h b/fs/btrfs/discard.h
index 3c5a04f8714f..0f2f89b1b0b9 100644
--- a/fs/btrfs/discard.h
+++ b/fs/btrfs/discard.h
@@ -16,6 +16,10 @@ 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_update_discardable(struct btrfs_block_group *block_group,
+ struct btrfs_free_space_ctl *ctl);
+
/* Setup/cleanup operations */
void btrfs_discard_punt_unused_bgs_list(struct btrfs_fs_info *fs_info);
void btrfs_discard_resume(struct btrfs_fs_info *fs_info);