1
linux/fs/btrfs/reflink.h
David Sterba 22b46bdc5f btrfs: add forward declarations and headers, part 1
Do a cleanup in the short headers:

- add forward declarations for types referenced by pointers
- add includes when types need them

This fixes potential compilation problems if the headers are reordered
or the missing includes are not provided indirectly.

Signed-off-by: David Sterba <dsterba@suse.com>
2024-03-04 16:24:49 +01:00

15 lines
322 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef BTRFS_REFLINK_H
#define BTRFS_REFLINK_H
#include <linux/types.h>
struct file;
loff_t btrfs_remap_file_range(struct file *file_in, loff_t pos_in,
struct file *file_out, loff_t pos_out,
loff_t len, unsigned int remap_flags);
#endif /* BTRFS_REFLINK_H */