diff options
Diffstat (limited to 'fs/bcachefs/fs-io.h')
-rw-r--r-- | fs/bcachefs/fs-io.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/bcachefs/fs-io.h b/fs/bcachefs/fs-io.h index 7063556d289b..1b593ea707d5 100644 --- a/fs/bcachefs/fs-io.h +++ b/fs/bcachefs/fs-io.h @@ -35,6 +35,10 @@ int bch2_fsync(struct file *, loff_t, loff_t, int); int bch2_truncate(struct bch_inode_info *, struct iattr *); long bch2_fallocate_dispatch(struct file *, int, loff_t, loff_t); +#define REMAP_FILE_ADVISORY (0) +#define REMAP_FILE_DEDUP (1 << 0) +#define REMAP_FILE_CAN_SHORTEN (1 << 1) + loff_t bch2_remap_file_range(struct file *, loff_t, struct file *, loff_t, loff_t, unsigned); |