aboutsummaryrefslogtreecommitdiff
path: root/fs/bcachefs/io_misc.h
blob: 46e9ce3251d610dd983f6f734dc838f6a6968a4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _BCACHEFS_IO_MISC_H
#define _BCACHEFS_IO_MISC_H

int bch2_extent_fallocate(struct btree_trans *, subvol_inum, struct btree_iter *,
			  unsigned, struct bch_io_opts, s64 *,
			  struct write_point_specifier);
int bch2_fpunch_at(struct btree_trans *, struct btree_iter *,
		   subvol_inum, u64, s64 *);
int bch2_fpunch(struct bch_fs *c, subvol_inum, u64, u64, s64 *);

#endif /* _BCACHEFS_IO_MISC_H */