summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-05-05 22:11:14 +0200
committerDavid Sterba <dsterba@suse.com>2022-05-16 17:17:32 +0200
commita3e171a09cd4f67bb4c7ea93b552b543f19a308e (patch)
treeb8ea9184650305ae8732a601fb6f330e7e9dd621 /fs/btrfs/ctree.h
parentbtrfs: remove the disk_bytenr in struct btrfs_dio_private (diff)
downloadlinux-a3e171a09cd4f67bb4c7ea93b552b543f19a308e.tar.xz
linux-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 <nborisov@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
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);