xref: /linux/fs/bcachefs/extent_update.h (revision a36e9f5cfe9eb3a1dce8769c7058251c42705357)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHEFS_EXTENT_UPDATE_H
3 #define _BCACHEFS_EXTENT_UPDATE_H
4 
5 #include "bcachefs.h"
6 
7 int bch2_extent_atomic_end(struct btree_trans *, struct btree_iter *,
8 			   struct bkey_i *, struct bpos *);
9 int bch2_extent_trim_atomic(struct btree_trans *, struct btree_iter *,
10 			    struct bkey_i *);
11 
12 #endif /* _BCACHEFS_EXTENT_UPDATE_H */
13