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