xref: /linux/fs/bcachefs/extent_update.h (revision be239684b18e1cdcafcf8c7face4a2f562c745ad)
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