btrfs: clean snapshots one by one
[firefly-linux-kernel-4.4.55.git] / fs / btrfs / transaction.h
index 3c8e0d25c8e4d1bbe88d7404150bcb1d3db1a8f6..f6edd5e6baa3d759e89738280f5e2cbc44385d25 100644 (file)
@@ -123,7 +123,7 @@ int btrfs_write_and_wait_transaction(struct btrfs_trans_handle *trans,
 
 int btrfs_add_dead_root(struct btrfs_root *root);
 int btrfs_defrag_root(struct btrfs_root *root);
-int btrfs_clean_old_snapshots(struct btrfs_root *root);
+int btrfs_clean_one_deleted_snapshot(struct btrfs_root *root);
 int btrfs_commit_transaction(struct btrfs_trans_handle *trans,
                             struct btrfs_root *root);
 int btrfs_commit_transaction_async(struct btrfs_trans_handle *trans,