aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-05-05 20:11:14 +0000
committerDavid Sterba <[email protected]>2022-05-16 15:17:32 +0000
commita3e171a09cd4f67bb4c7ea93b552b543f19a308e (patch)
treeb8ea9184650305ae8732a601fb6f330e7e9dd621 /fs/btrfs/ctree.h
parentbtrfs: remove the disk_bytenr in struct btrfs_dio_private (diff)
downloadkernel-a3e171a09cd4f67bb4c7ea93b552b543f19a308e.tar.gz
kernel-a3e171a09cd4f67bb4c7ea93b552b543f19a308e.zip
btrfs: move struct btrfs_dio_private to inode.c
The btrfs_dio_private structure is only used in inode.c, so move the definition there. Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 47e1e79e8bff..0e49b1a0c071 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -3218,7 +3218,6 @@ int btrfs_del_orphan_item(struct btrfs_trans_handle *trans,
int btrfs_find_orphan_item(struct btrfs_root *root, u64 offset);
/* file-item.c */
-struct btrfs_dio_private;
int btrfs_del_csums(struct btrfs_trans_handle *trans,
struct btrfs_root *root, u64 bytenr, u64 len);
blk_status_t btrfs_lookup_bio_sums(struct inode *inode, struct bio *bio, u8 *dst);