summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/alloc_foreground.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-11-02 15:41:32 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:45 -0400
commit07de1803b888131ef1675b17a0260b50d684175e (patch)
tree20f4af85a248dabd9a7939c64b6d09c77e0d7ca7 /fs/bcachefs/alloc_foreground.h
parent984dc67e3bceb8871444961df0d2c2a45d5a3f4e (diff)
downloadlinux-07de1803b888131ef1675b17a0260b50d684175e.tar.gz
linux-07de1803b888131ef1675b17a0260b50d684175e.tar.bz2
linux-07de1803b888131ef1675b17a0260b50d684175e.zip
bcachefs: Kill bch2_alloc_sectors_start()
Only used in one place, just inline it there. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_foreground.h')
-rw-r--r--fs/bcachefs/alloc_foreground.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/bcachefs/alloc_foreground.h b/fs/bcachefs/alloc_foreground.h
index 12583a7e7aa3..b784a59d67e7 100644
--- a/fs/bcachefs/alloc_foreground.h
+++ b/fs/bcachefs/alloc_foreground.h
@@ -147,15 +147,6 @@ int bch2_alloc_sectors_start_trans(struct btree_trans *,
unsigned,
struct closure *,
struct write_point **);
-int bch2_alloc_sectors_start(struct bch_fs *,
- unsigned, unsigned,
- struct write_point_specifier,
- struct bch_devs_list *,
- unsigned, unsigned,
- enum alloc_reserve,
- unsigned,
- struct closure *,
- struct write_point **);
struct bch_extent_ptr bch2_ob_ptr(struct bch_fs *, struct open_bucket *);
void bch2_alloc_sectors_append_ptrs(struct bch_fs *, struct write_point *,