btrfs: move accessor helpers into accessors.h
This is a large patch, but because they're all macros it's impossible to split up. Simply copy all of the item accessors in ctree.h and paste them in accessors.h, and then update any files to include the header so everything compiles. Reviewed-by:Anand Jain <anand.jain@oracle.com> Signed-off-by:
Josef Bacik <josef@toxicpanda.com> Reviewed-by:
David Sterba <dsterba@suse.com> [ reformat comments, style fixups ] Signed-off-by:
David Sterba <dsterba@suse.com>
Showing
- fs/btrfs/accessors.h 1068 additions, 0 deletionsfs/btrfs/accessors.h
- fs/btrfs/backref.c 1 addition, 0 deletionsfs/btrfs/backref.c
- fs/btrfs/block-group.c 1 addition, 0 deletionsfs/btrfs/block-group.c
- fs/btrfs/block-rsv.c 1 addition, 0 deletionsfs/btrfs/block-rsv.c
- fs/btrfs/check-integrity.c 1 addition, 0 deletionsfs/btrfs/check-integrity.c
- fs/btrfs/ctree.h 0 additions, 1090 deletionsfs/btrfs/ctree.h
- fs/btrfs/delayed-inode.c 1 addition, 0 deletionsfs/btrfs/delayed-inode.c
- fs/btrfs/dev-replace.c 1 addition, 0 deletionsfs/btrfs/dev-replace.c
- fs/btrfs/dir-item.c 1 addition, 0 deletionsfs/btrfs/dir-item.c
- fs/btrfs/disk-io.c 1 addition, 0 deletionsfs/btrfs/disk-io.c
- fs/btrfs/export.c 1 addition, 0 deletionsfs/btrfs/export.c
- fs/btrfs/extent-tree.c 1 addition, 0 deletionsfs/btrfs/extent-tree.c
- fs/btrfs/extent_io.c 1 addition, 0 deletionsfs/btrfs/extent_io.c
- fs/btrfs/file-item.c 1 addition, 0 deletionsfs/btrfs/file-item.c
- fs/btrfs/file.c 1 addition, 0 deletionsfs/btrfs/file.c
- fs/btrfs/free-space-cache.c 1 addition, 0 deletionsfs/btrfs/free-space-cache.c
- fs/btrfs/free-space-tree.c 1 addition, 0 deletionsfs/btrfs/free-space-tree.c
- fs/btrfs/fs.c 1 addition, 0 deletionsfs/btrfs/fs.c
- fs/btrfs/inode-item.c 1 addition, 0 deletionsfs/btrfs/inode-item.c
- fs/btrfs/ioctl.c 1 addition, 0 deletionsfs/btrfs/ioctl.c
Please register or sign in to comment